{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/mail/issues/767","labels_url":"https://api.github.com/repos/owncloud/mail/issues/767/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/mail/issues/767/comments","events_url":"https://api.github.com/repos/owncloud/mail/issues/767/events","html_url":"https://github.com/owncloud/mail/issues/767","id":88172238,"number":767,"title":"Invalid request token of cached HTML messages","user":{"login":"wurstchristoph","id":1374172,"avatar_url":"https://avatars.githubusercontent.com/u/1374172?v=3","gravatar_id":"","url":"https://api.github.com/users/wurstchristoph","html_url":"https://github.com/wurstchristoph","followers_url":"https://api.github.com/users/wurstchristoph/followers","following_url":"https://api.github.com/users/wurstchristoph/following{/other_user}","gists_url":"https://api.github.com/users/wurstchristoph/gists{/gist_id}","starred_url":"https://api.github.com/users/wurstchristoph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wurstchristoph/subscriptions","organizations_url":"https://api.github.com/users/wurstchristoph/orgs","repos_url":"https://api.github.com/users/wurstchristoph/repos","events_url":"https://api.github.com/users/wurstchristoph/events{/privacy}","received_events_url":"https://api.github.com/users/wurstchristoph/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/mail/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/mail/milestones/5","html_url":"https://github.com/owncloud/mail/milestones/0.2","labels_url":"https://api.github.com/repos/owncloud/mail/milestones/5/labels","id":1108267,"number":5,"title":"0.2","description":"Next one! :rocket: 2 years, 4 months and 8 days after the initial commit. ;)","creator":{"login":"jancborchardt","id":925062,"avatar_url":"https://avatars.githubusercontent.com/u/925062?v=3","gravatar_id":"","url":"https://api.github.com/users/jancborchardt","html_url":"https://github.com/jancborchardt","followers_url":"https://api.github.com/users/jancborchardt/followers","following_url":"https://api.github.com/users/jancborchardt/following{/other_user}","gists_url":"https://api.github.com/users/jancborchardt/gists{/gist_id}","starred_url":"https://api.github.com/users/jancborchardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jancborchardt/subscriptions","organizations_url":"https://api.github.com/users/jancborchardt/orgs","repos_url":"https://api.github.com/users/jancborchardt/repos","events_url":"https://api.github.com/users/jancborchardt/events{/privacy}","received_events_url":"https://api.github.com/users/jancborchardt/received_events","type":"User","site_admin":false},"open_issues":54,"closed_issues":65,"state":"open","created_at":"2015-05-13T09:28:21Z","updated_at":"2015-06-16T10:27:22Z","due_on":"2015-07-13T22:00:00Z","closed_at":null},"comments":1,"created_at":"2015-06-14T11:47:11Z","updated_at":"2015-06-16T10:28:13Z","closed_at":null,"body":"HTML messages are loaded via a URL that contains a request token. As this token is only valid for the current session, there are errors if you log out and in again:\r\n![Error on Firefox](https://cloud.githubusercontent.com/assets/1374172/8148379/c600933a-129a-11e5-9d52-cf95e18b839e.png)\r\n\r\nI'm thinking of the following possibilities to solve this:\r\n- don't cache HTML messages (takes more time to load because there are two server requests needed instead of only one)\r\n- use session storage instead of local storage as it isn't persistent\r\n- cache HTML message body and load it as data source (PR #768)\r\n\r\n@jancborchardt can you reproduce this? I guess you are using the current master of the mail app :)"},"comment":{"url":"https://api.github.com/repos/owncloud/mail/issues/comments/112378272","html_url":"https://github.com/owncloud/mail/issues/767#issuecomment-112378272","issue_url":"https://api.github.com/repos/owncloud/mail/issues/767","id":112378272,"user":{"login":"jancborchardt","id":925062,"avatar_url":"https://avatars.githubusercontent.com/u/925062?v=3","gravatar_id":"","url":"https://api.github.com/users/jancborchardt","html_url":"https://github.com/jancborchardt","followers_url":"https://api.github.com/users/jancborchardt/followers","following_url":"https://api.github.com/users/jancborchardt/following{/other_user}","gists_url":"https://api.github.com/users/jancborchardt/gists{/gist_id}","starred_url":"https://api.github.com/users/jancborchardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jancborchardt/subscriptions","organizations_url":"https://api.github.com/users/jancborchardt/orgs","repos_url":"https://api.github.com/users/jancborchardt/repos","events_url":"https://api.github.com/users/jancborchardt/events{/privacy}","received_events_url":"https://api.github.com/users/jancborchardt/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T10:28:13Z","updated_at":"2015-06-16T10:28:13Z","body":"Yeah, I also had that for some emails and was wondering! Something about »Too many redirects«."}}