core-wg / href

Other
2 stars 0 forks source link

text-or-pet for fragment #20

Closed chrysn closed 2 years ago

chrysn commented 2 years ago

As we now aim for complete coverage of URIs, we'll need text-or-pet for the fragment just as well; the fragment may contain subdelims and "@", ":", "/" and "?" in unencoded form, so #@ is distinct from #%40 because "@" is reserved.

Unlike the other text-or-pet this has no delimiter it's split up from, but #, [ and ] would probably still have their percent-encoded forms map to parts of the non-pet text because they can be there (because like with host names, we should strive for consistency with path and query where our mapping is fixed already in 7252).