Re: [whatwg/url] It's not immediately clear that "URL syntax" and "URL parser" conflict (#118)

> So, it’s not the same everywhere. Useful standard then. I thought a standard is defined as a format that is guaranteed to work everywhere.

This specification is designed to be used when parsing URLs from HTML, as used in e.g. the href attribute of an <a> tag. It says nothing about parsing user input in e.g. a location bar. In my browser, typing "some query" into the URL takes me to a search engine, and typing "example.com" navigates me to "http://example.com". This behavior isn't specified by the URL specification, and shouldn't be.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/118#issuecomment-337853249

Received on Thursday, 19 October 2017 09:31:58 UTC