-
Notifications
You must be signed in to change notification settings - Fork 43
CSP test for frame-src does not match explanation #643
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
Comments
Below text is from a mail from BK to SR and GT (dd 07 Dec 2022).
|
I've been testing my CSP configuration for some days now, but only succeeded in getting a pass after reading the source code of the test. A CSP header of This does not match the explanatory text which says "frame-src should be used (either by definition or by relying on the fallback to child-src and default-src)". In my observation, |
@whyscream can you tell us which domain you saw this on? We use the fallback on our own domain which passes. |
Decision on the original issue: we will implement option A: for frame-src we will permit 'none', 'self', specific domain, or a combination. |
Hi @mxsasha , I tried to reproduce on https://internet.nl/site/internet-nl-csp-test.whyscream.net/1984363/, but it gives a pass now. |
@whyscream I don't see any other hints in the code, and can not reproduce, so leaving this for now. #577 will help with these kind of things in the future. |
I implemented CSP headers for the first time.
(Ps. #577 would really help).
I followed the instructions to the lettter for
frame-src
. Butframe-src www.example.org;
was found to be invalid, whileframe-src 'self' www.example.org;
was correct. (with a different domain forwww.example.org
of course and other sections, this was the only difference).The explanation writes:
Only the latter, a specific domain, is apparently invalid according to the test.
The text was updated successfully, but these errors were encountered: