{"action":"created","issue":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/2495","repository_url":"https://api.github.com/repos/ampproject/amphtml","labels_url":"https://api.github.com/repos/ampproject/amphtml/issues/2495/labels{/name}","comments_url":"https://api.github.com/repos/ampproject/amphtml/issues/2495/comments","events_url":"https://api.github.com/repos/ampproject/amphtml/issues/2495/events","html_url":"https://github.com/ampproject/amphtml/issues/2495","id":139176357,"number":2495,"title":"Force protocol-relative URLs in HTTPS-only tags to use HTTPS","user":{"login":"jmadler","id":435158,"avatar_url":"https://avatars.githubusercontent.com/u/435158?v=3","gravatar_id":"","url":"https://api.github.com/users/jmadler","html_url":"https://github.com/jmadler","followers_url":"https://api.github.com/users/jmadler/followers","following_url":"https://api.github.com/users/jmadler/following{/other_user}","gists_url":"https://api.github.com/users/jmadler/gists{/gist_id}","starred_url":"https://api.github.com/users/jmadler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmadler/subscriptions","organizations_url":"https://api.github.com/users/jmadler/orgs","repos_url":"https://api.github.com/users/jmadler/repos","events_url":"https://api.github.com/users/jmadler/events{/privacy}","received_events_url":"https://api.github.com/users/jmadler/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ampproject/amphtml/labels/Type:%20Task","name":"Type: Task","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-08T04:21:37Z","updated_at":"2016-03-08T14:30:19Z","closed_at":null,"body":"I've seen some cases where an AMP HTML document is valid when served over HTTP, but invalid when served over HTTPS, because protocol-relative URLs are treated regularly.  \r\n\r\nSince AMP HTML should behave the same over HTTP and HTTPS, I propose we force protocol-relative URLs in HTTPS-only tags to be treated as HTTPS, or, alternatively, be considered invalid."},"comment":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/comments/193804205","html_url":"https://github.com/ampproject/amphtml/issues/2495#issuecomment-193804205","issue_url":"https://api.github.com/repos/ampproject/amphtml/issues/2495","id":193804205,"user":{"login":"cramforce","id":89679,"avatar_url":"https://avatars.githubusercontent.com/u/89679?v=3","gravatar_id":"","url":"https://api.github.com/users/cramforce","html_url":"https://github.com/cramforce","followers_url":"https://api.github.com/users/cramforce/followers","following_url":"https://api.github.com/users/cramforce/following{/other_user}","gists_url":"https://api.github.com/users/cramforce/gists{/gist_id}","starred_url":"https://api.github.com/users/cramforce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cramforce/subscriptions","organizations_url":"https://api.github.com/users/cramforce/orgs","repos_url":"https://api.github.com/users/cramforce/repos","events_url":"https://api.github.com/users/cramforce/events{/privacy}","received_events_url":"https://api.github.com/users/cramforce/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T14:30:19Z","updated_at":"2016-03-08T14:30:19Z","body":"@jmadler What you mean is not that it is invalid, but rather that it doesn't work, right?\r\n\r\nRequesting `//` has `https://` sounds like a good idea."}}