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

cspvalidator.org unrecognised directive-name #230

Open
mimin28g opened this issue Sep 30, 2019 · 1 comment
Open

cspvalidator.org unrecognised directive-name #230

mimin28g opened this issue Sep 30, 2019 · 1 comment

Comments

@mimin28g
Copy link

for referrer-policy and reflected-xss it keeps on saying "unrecognised directive-name".
Is this syntax error or the database on your end doesn't include it ...

Screenshot 2019-09-30 at 7 02 56 PM

@bakkot
Copy link
Member

bakkot commented Nov 22, 2019

"referrer-policy" never existed as far as I know, but "referrer" did for a little while. However, these were removed from the spec (x, x) in 2015, so these really are syntax errors.

The error message should probably mention that these were removed rather than just giving the generic "unrecognized directive" error, though.

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

2 participants