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

Lint invalidates csp=script-src-attr 'none' despite it's valid #206

Closed
Yuki2718 opened this issue Apr 9, 2024 · 3 comments
Closed

Lint invalidates csp=script-src-attr 'none' despite it's valid #206

Yuki2718 opened this issue Apr 9, 2024 · 3 comments
Assignees

Comments

@Yuki2718
Copy link

Yuki2718 commented Apr 9, 2024

Rule (confirmed it's working on ext 4.3.46): ||newmatosoku.com^$csp=script-src-attr 'none'

Screenshot

valid

@scripthunter7
Copy link
Member

scripthunter7 commented Apr 9, 2024

Thank you for reporting this, it seems that ALLOWED_CSP_DIRECTIVES should be extended

@scripthunter7 scripthunter7 added the bug Something isn't working label Apr 9, 2024
@scripthunter7 scripthunter7 changed the title Lint invalidates csp=script-src-attr 'none' despite it's valid Lint invalidates csp=script-src-attr 'none' despite it's valid Apr 9, 2024
@scripthunter7
Copy link
Member

scripthunter7 commented Apr 9, 2024

@Yuki2718 Please temporarily add a disable comment for that line

! aglint-disable-next-line invalid-modifiers

@Yuki2718
Copy link
Author

Yuki2718 commented Apr 9, 2024

Please temporarily add a disable comment for that line

Sure, already done AdguardTeam/AdguardFilters@4f4b5f8

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

No branches or pull requests

4 participants