[whatwg/url] URL path comparison (Issue #814)

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?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/814
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/url/issues/814@github.com>

Received on Friday, 26 January 2024 14:02:02 UTC