Re: [whatwg/url] Consider percent-encoding more characters in "fragment state" (#344)

Yes, I'm pretty worried about `'?'` there in compat terms, esp given it being explicitly called out as allowed in the RFC.  Actually somewhat worried about `'#'` and `'{'` and `'}'` too, if no one escapes those right now...  How many people pass JSON in fragments, for example?

The actual set of chars the RFC allows in fragments, just for reference, is:

      fragment    = *( pchar / "/" / "?" )

where `pchar` is the set of characters allowed in path segments.  So basically, "everything allowed in paths, plus '?'".  Which is definitely more restrictive than what UAs do.



-- 
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/344#issuecomment-330540373

Received on Tuesday, 19 September 2017 13:34:11 UTC