Re: [whatwg/url] Need an "unreserved" character set (and better define how to percent-encode arbitrary strings) (#369)

In https://github.com/whatwg/html/issues/3377#issuecomment-625102116 I have attempted to summarize what browsers do for `registerProtocolHandler()`. My suggestion is to adopt that for a new "external string encode set" which you could use if you have some string you want to insert in a path, query, or fragment and are not sure of its contents.

If after that folks still want to pursue more drastic URL parser changes I suggest we do that in a new issue and keep this focused on the external string/templating case and the precedent for that  in implementations.

-- 
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/369#issuecomment-625105653

Received on Thursday, 7 May 2020 08:20:42 UTC