Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL path comparison #814

Open
annevk opened this issue Jan 26, 2024 · 0 comments
Open

URL path comparison #814

annevk opened this issue Jan 26, 2024 · 0 comments
Labels
topic: model For issues with the abstract-but-normative bits

Comments

@annevk
Copy link
Member

annevk commented Jan 26, 2024

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?

@annevk annevk added the topic: model For issues with the abstract-but-normative bits label Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: model For issues with the abstract-but-normative bits
Development

No branches or pull requests

1 participant