{"action":"created","issue":{"url":"https://api.github.com/repos/AndrewBelt/hack.chat/issues/7","labels_url":"https://api.github.com/repos/AndrewBelt/hack.chat/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/AndrewBelt/hack.chat/issues/7/comments","events_url":"https://api.github.com/repos/AndrewBelt/hack.chat/issues/7/events","html_url":"https://github.com/AndrewBelt/hack.chat/issues/7","id":93596837,"number":7,"title":"Add HSTS header","user":{"login":"lucaswerkmeister","id":2346599,"avatar_url":"https://avatars.githubusercontent.com/u/2346599?v=3","gravatar_id":"","url":"https://api.github.com/users/lucaswerkmeister","html_url":"https://github.com/lucaswerkmeister","followers_url":"https://api.github.com/users/lucaswerkmeister/followers","following_url":"https://api.github.com/users/lucaswerkmeister/following{/other_user}","gists_url":"https://api.github.com/users/lucaswerkmeister/gists{/gist_id}","starred_url":"https://api.github.com/users/lucaswerkmeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucaswerkmeister/subscriptions","organizations_url":"https://api.github.com/users/lucaswerkmeister/orgs","repos_url":"https://api.github.com/users/lucaswerkmeister/repos","events_url":"https://api.github.com/users/lucaswerkmeister/events{/privacy}","received_events_url":"https://api.github.com/users/lucaswerkmeister/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-07T18:27:12Z","updated_at":"2015-07-08T11:26:08Z","closed_at":"2015-07-08T06:17:31Z","body":"The HTTP version of the site redirects to HTTPS via 301 Moved Permanently, but if someone visits http://hack.chat/?my_secret_channel, that channel’s name is still compromised since it is transmitted before the switch to an encrypted connection can happen. The server should send an HSTS header to avoid this if the user agent visited hack.chat in the past."},"comment":{"url":"https://api.github.com/repos/AndrewBelt/hack.chat/issues/comments/119545518","html_url":"https://github.com/AndrewBelt/hack.chat/issues/7#issuecomment-119545518","issue_url":"https://api.github.com/repos/AndrewBelt/hack.chat/issues/7","id":119545518,"user":{"login":"lucaswerkmeister","id":2346599,"avatar_url":"https://avatars.githubusercontent.com/u/2346599?v=3","gravatar_id":"","url":"https://api.github.com/users/lucaswerkmeister","html_url":"https://github.com/lucaswerkmeister","followers_url":"https://api.github.com/users/lucaswerkmeister/followers","following_url":"https://api.github.com/users/lucaswerkmeister/following{/other_user}","gists_url":"https://api.github.com/users/lucaswerkmeister/gists{/gist_id}","starred_url":"https://api.github.com/users/lucaswerkmeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucaswerkmeister/subscriptions","organizations_url":"https://api.github.com/users/lucaswerkmeister/orgs","repos_url":"https://api.github.com/users/lucaswerkmeister/repos","events_url":"https://api.github.com/users/lucaswerkmeister/events{/privacy}","received_events_url":"https://api.github.com/users/lucaswerkmeister/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T11:26:08Z","updated_at":"2015-07-08T11:26:08Z","body":"Great, thanks!"}}