whatwg/url

URL path comparison

annevk opened this issue · 0 comments

annevk commented

For Cookies we need URL path comparison. Currently that's done through a serialized path, but might be nicer if it operated on segments: https://datatracker.ietf.org/doc/html/rfc6265#section-5.1.4.

https://w3c.github.io/ServiceWorker/#update-algorithm appears to do a very similar operation.

https://w3c.github.io/webappsec-csp/#match-paths is also quite similar, except this performs percent-decoding. Meh.

Any others?