{"action":"created","issue":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/3275","repository_url":"https://api.github.com/repos/ampproject/amphtml","labels_url":"https://api.github.com/repos/ampproject/amphtml/issues/3275/labels{/name}","comments_url":"https://api.github.com/repos/ampproject/amphtml/issues/3275/comments","events_url":"https://api.github.com/repos/ampproject/amphtml/issues/3275/events","html_url":"https://github.com/ampproject/amphtml/pull/3275","id":155822070,"number":3275,"title":"In the validator UI allow URLs without protocol.","user":{"login":"powdercloud","id":14113543,"avatar_url":"https://avatars.githubusercontent.com/u/14113543?v=3","gravatar_id":"","url":"https://api.github.com/users/powdercloud","html_url":"https://github.com/powdercloud","followers_url":"https://api.github.com/users/powdercloud/followers","following_url":"https://api.github.com/users/powdercloud/following{/other_user}","gists_url":"https://api.github.com/users/powdercloud/gists{/gist_id}","starred_url":"https://api.github.com/users/powdercloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/powdercloud/subscriptions","organizations_url":"https://api.github.com/users/powdercloud/orgs","repos_url":"https://api.github.com/users/powdercloud/repos","events_url":"https://api.github.com/users/powdercloud/events{/privacy}","received_events_url":"https://api.github.com/users/powdercloud/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ampproject/amphtml/labels/NEEDS%20REVIEW","name":"NEEDS REVIEW","color":"e11d21"},{"url":"https://api.github.com/repos/ampproject/amphtml/labels/Related%20to:%20Validator","name":"Related to: Validator","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"honeybadgerdontcare","id":1340565,"avatar_url":"https://avatars.githubusercontent.com/u/1340565?v=3","gravatar_id":"","url":"https://api.github.com/users/honeybadgerdontcare","html_url":"https://github.com/honeybadgerdontcare","followers_url":"https://api.github.com/users/honeybadgerdontcare/followers","following_url":"https://api.github.com/users/honeybadgerdontcare/following{/other_user}","gists_url":"https://api.github.com/users/honeybadgerdontcare/gists{/gist_id}","starred_url":"https://api.github.com/users/honeybadgerdontcare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honeybadgerdontcare/subscriptions","organizations_url":"https://api.github.com/users/honeybadgerdontcare/orgs","repos_url":"https://api.github.com/users/honeybadgerdontcare/repos","events_url":"https://api.github.com/users/honeybadgerdontcare/events{/privacy}","received_events_url":"https://api.github.com/users/honeybadgerdontcare/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-05-19T20:01:05Z","updated_at":"2016-05-19T20:14:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ampproject/amphtml/pulls/3275","html_url":"https://github.com/ampproject/amphtml/pull/3275","diff_url":"https://github.com/ampproject/amphtml/pull/3275.diff","patch_url":"https://github.com/ampproject/amphtml/pull/3275.patch"},"body":"Tweak the regex a bit to get this done.\r\nWhen the protocol is left off, change the input so the user\r\ncan see what's happening.\r\n\r\nWe should consider doing this in Javascript if we want to make\r\nthis a lot more elaborate, to avoid getting stuck in this rabbit hole:\r\nhttps://mathiasbynens.be/demo/url-regex :-)"},"comment":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/comments/220439150","html_url":"https://github.com/ampproject/amphtml/pull/3275#issuecomment-220439150","issue_url":"https://api.github.com/repos/ampproject/amphtml/issues/3275","id":220439150,"user":{"login":"honeybadgerdontcare","id":1340565,"avatar_url":"https://avatars.githubusercontent.com/u/1340565?v=3","gravatar_id":"","url":"https://api.github.com/users/honeybadgerdontcare","html_url":"https://github.com/honeybadgerdontcare","followers_url":"https://api.github.com/users/honeybadgerdontcare/followers","following_url":"https://api.github.com/users/honeybadgerdontcare/following{/other_user}","gists_url":"https://api.github.com/users/honeybadgerdontcare/gists{/gist_id}","starred_url":"https://api.github.com/users/honeybadgerdontcare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honeybadgerdontcare/subscriptions","organizations_url":"https://api.github.com/users/honeybadgerdontcare/orgs","repos_url":"https://api.github.com/users/honeybadgerdontcare/repos","events_url":"https://api.github.com/users/honeybadgerdontcare/events{/privacy}","received_events_url":"https://api.github.com/users/honeybadgerdontcare/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T20:14:53Z","updated_at":"2016-05-19T20:14:53Z","body":"LOL, I saw that page a while back and thought the same thing =D"}}