csp filter for document doesn't work
- Dominant language
- Rust
- Stars
- 2.8k
- Forks
- 250
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 6
Description
One of the two-folded issues in https://community.brave.com/t/web/561437
```
*$doc,csp=script-src-attr 'none',to=flatpanelshd.com|sportsrec.com|badmouth1.com|jin115.com|picrew.me|lamire.jp
||html-load.com/loader.min.js$domain=badmouth1.com|carscoops.com|dziennik.pl|eurointegration.com.ua|flatpanelshd.com|fourfourtwo.co.kr|jin115.com|lamire.jp|logicieleducatif.fr|mydaily.co.kr|picrew.me|reportera.co.kr|sportsrec.com|taxguru.in|thestar.co.uk|tweaksforgeeks.com|videogamemods.com|wfmz.com|yorkshirepost.co.uk|onlinegdb.com|text-compare.com
```
in uBlock filters doen't work.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the two uBlock filter rules from the issue and verify how the CSP rule behaves on the listed domains. Trace the CSP-filter handling in adblock-rust, then add or update coverage for this case if an existing test entry point is found. Done means the document CSP filter is applied as intended without breaking the script rule.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100