Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it clearer that just about anything is parseable, probably via some examples #119

Closed
domenic opened this issue May 9, 2016 · 0 comments

Comments

@domenic
Copy link
Member

domenic commented May 9, 2016

Not everyone realizes that pretty much everything that contains a : is parseable as a URL (and is in fact parsed as such by browsers). People don't realize this just looking at the parser algorithm, and people coming from the RFCs have very different expectations.

A series of examples illustrating how absurd inputs get parsed as URLs would be great. Maybe draw a few from https://github.com/w3c/web-platform-tests/blob/master/url/urltestdata.json and then link to that file for more details.

Also, I believe there are some examples where you can contain a : but parsing will still fail. I'd like to have those included as well, as I always fail to remember them (when trying to qualify my "anything with a :" statements).

Potentially related to #118.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant