Re: [whatwg/url] Encode ^ in pathname (#607)

3986 [defines path segments](https://www.rfc-editor.org/rfc/rfc3986.html#section-3.3) to contain these characters:

~~~ abnf
pchar       = unreserved / pct-encoded / sub-delims / ":" / "@"
unreserved  = ALPHA / DIGIT / "-" / "." / "_" / "~"
sub-delims  = "!" / "$" / "&" / "'" / "(" / ")"
              / "*" / "+" / "," / ";" / "="
~~~

That doesn't include `^`, so it needs to be percent-encoded.


-- 
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/607#issuecomment-846329485

Received on Saturday, 22 May 2021 01:39:08 UTC