{"action":"created","issue":{"url":"https://api.github.com/repos/whatwg/url/issues/118","repository_url":"https://api.github.com/repos/whatwg/url","labels_url":"https://api.github.com/repos/whatwg/url/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/whatwg/url/issues/118/comments","events_url":"https://api.github.com/repos/whatwg/url/issues/118/events","html_url":"https://github.com/whatwg/url/issues/118","id":153776305,"number":118,"title":"It's not immediately clear that \"URL syntax\" and \"URL parser\" conflict","user":{"login":"domenic","id":617481,"avatar_url":"https://avatars.githubusercontent.com/u/617481?v=3","gravatar_id":"","url":"https://api.github.com/users/domenic","html_url":"https://github.com/domenic","followers_url":"https://api.github.com/users/domenic/followers","following_url":"https://api.github.com/users/domenic/following{/other_user}","gists_url":"https://api.github.com/users/domenic/gists{/gist_id}","starred_url":"https://api.github.com/users/domenic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenic/subscriptions","organizations_url":"https://api.github.com/users/domenic/orgs","repos_url":"https://api.github.com/users/domenic/repos","events_url":"https://api.github.com/users/domenic/events{/privacy}","received_events_url":"https://api.github.com/users/domenic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":71,"created_at":"2016-05-09T13:28:58Z","updated_at":"2016-05-15T01:04:39Z","closed_at":null,"body":"URL syntax is a model for valid URLs---basically \"authoring requirements\". The URL parser section allows parsing URLs which do not follow URL syntax.\r\n\r\nAn easy example is `https://////example.com`, which is disallowed because the portion after `https:` contradicts\r\n\r\n> A scheme-relative URL\r\nmust be \"//\", followed by a host, optionally followed by \":\" and a port, optionally followed by a path-absolute URL. \r\n\r\n/cc @bagder via some Twitter confusion this morning."},"comment":{"url":"https://api.github.com/repos/whatwg/url/issues/comments/219260159","html_url":"https://github.com/whatwg/url/issues/118#issuecomment-219260159","issue_url":"https://api.github.com/repos/whatwg/url/issues/118","id":219260159,"user":{"login":"rubys","id":4815,"avatar_url":"https://avatars.githubusercontent.com/u/4815?v=3","gravatar_id":"","url":"https://api.github.com/users/rubys","html_url":"https://github.com/rubys","followers_url":"https://api.github.com/users/rubys/followers","following_url":"https://api.github.com/users/rubys/following{/other_user}","gists_url":"https://api.github.com/users/rubys/gists{/gist_id}","starred_url":"https://api.github.com/users/rubys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubys/subscriptions","organizations_url":"https://api.github.com/users/rubys/orgs","repos_url":"https://api.github.com/users/rubys/repos","events_url":"https://api.github.com/users/rubys/events{/privacy}","received_events_url":"https://api.github.com/users/rubys/received_events","type":"User","site_admin":false},"created_at":"2016-05-15T01:04:39Z","updated_at":"2016-05-15T01:04:39Z","body":"Description of the APIs used, including links to the actual source code:\r\n\r\nhttps://github.com/webspecs/url/tree/develop/evaluate#evaluation-programs-and-results\r\n\r\nThe term \"correctly\" implies a value judgment; I'll decline to go there.  At the moment there are specs that are underspecified; specs that don't match reality; and implementations that don't match one another.  The latter remains true even if one limits oneself to only browser implementations, actively maintained browser implementations; or even actively maintained browser implementations.  Or alternately if you limit yourself to implementations that purport to be faithful implementations of the standards.\r\n\r\nAlso might be of some interest: what in my opinion is a more readable version of the URL standard, as of nearly a year and half ago: https://specs.webplatform.org/url/webspecs/develop/\r\n\r\nThe diagrams in that spec are generated from executable code that was meant to be the reference implementation.  My hope at the time was to get set of implementors together to reduce observable differences in their output.  "}}