-
Notifications
You must be signed in to change notification settings - Fork 141
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
mailto hostnames #331
Comments
Because it doesn't use the generic host syntax (start with |
Because of this, invalid hostnames are parsed: |
For schemes that do not follow the generic syntax for hosts you'll have to do post-processing. We had this discussion before, no? |
#280 was the previous discussion I was thinking of. |
Post-processing seems annoying when this spec already explains how to handle hostnames. |
Closing as per previous discussion mailto: parsing not special. Recently a post-processing step was specified for how to extract useful information from data: URLs, in the Fetch Standard. It's done elsewhere because it's a higher-level concern; this standard is only about URL parsing, but it's the concern of software (e.g. browsers that fetch) to deal with whether the parsed URL is a useful format. Hopefully that can serve as a model if you're interested in writing code or even a spec for how to parse mailto: URLs. |
[email protected]
treatsdomain.com
as a path and not a hostname. Why is this so?The text was updated successfully, but these errors were encountered: