{"action":"opened","issue":{"url":"https://api.github.com/repos/mozilla/idea-town/issues/326","labels_url":"https://api.github.com/repos/mozilla/idea-town/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/idea-town/issues/326/comments","events_url":"https://api.github.com/repos/mozilla/idea-town/issues/326/events","html_url":"https://github.com/mozilla/idea-town/issues/326","id":121327347,"number":326,"title":"Hardcode gravatar to use HTTPS?","user":{"login":"pdehaan","id":557895,"avatar_url":"https://avatars.githubusercontent.com/u/557895?v=3","gravatar_id":"","url":"https://api.github.com/users/pdehaan","html_url":"https://github.com/pdehaan","followers_url":"https://api.github.com/users/pdehaan/followers","following_url":"https://api.github.com/users/pdehaan/following{/other_user}","gists_url":"https://api.github.com/users/pdehaan/gists{/gist_id}","starred_url":"https://api.github.com/users/pdehaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdehaan/subscriptions","organizations_url":"https://api.github.com/users/pdehaan/orgs","repos_url":"https://api.github.com/users/pdehaan/repos","events_url":"https://api.github.com/users/pdehaan/events{/privacy}","received_events_url":"https://api.github.com/users/pdehaan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-09T20:06:23Z","updated_at":"2015-12-09T20:06:23Z","closed_at":null,"body":"It looks like gravatar currently is hardcoded to use a protocol-less format:\r\n[`return '//www.gravatar.com/avatar/%s?s=%s' % (email_hash, size)`](https://github.com/mozilla/idea-town/blob/6526f8f58b52596c871df8aa644c02e326350508/idea_town/utils.py#L78-L80)\r\n\r\nThis makes the developer tools output look a bit unpleasant and scary with a big lock with a red line through it. Not sure if it's worth just forcing the URL to always use HTTPS regardless of the protocol. Although I guess this is only a minor issue when testing on the dev server and the production server will only respond on HTTPS and not HTTP.\r\n\r\n<img width=\"841\" alt=\"idea_town_and_idea-town_package_json_at_master_ _mozilla_idea-town_ _github\" src=\"https://cloud.githubusercontent.com/assets/557895/11697105/0772e724-9e86-11e5-88c6-8035e2365a56.png\">\r\n"}}