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

Wildcard hosts and CSP source intersection #14

Open
antosart opened this issue Aug 3, 2020 · 0 comments
Open

Wildcard hosts and CSP source intersection #14

antosart opened this issue Aug 3, 2020 · 0 comments

Comments

@antosart
Copy link
Member

antosart commented Aug 3, 2020

According to 3.1.4.3, step 13.1, sources with hosts *.example.org and *.sub.example.org are not similar. So their intersection is empty. However, CSP host-part matching algorithm prescribes that *.example.org matches subdomains of any level of .example.org. So for consistency reasons I think that the intersection of *.example.org and *.sub.example.org should rather be *.sub.example.org.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant