AdguardTeam / AdguardTeam/AdguardBrowserExtension

Exceptions for csp rules don't work

Offen
#2,965 1 Kommentar 0 Reaktionen 1 zugewiesene Person Zugewiesen an @Zauats Auf GitHub ansehen
Bug MV3 Priority: P3 Status: In Progress Version: AdGuard v5.6
Vorherrschende Sprache
TypeScript
Sterne
4.4k
Forks
449
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Please answer the following questions for yourself before submitting an issue

- [X] Filters were updated before reproducing an issue
- [X] I checked the [knowledge base](https://adguard.com/kb/) and found no answer
- [X] I checked to make sure that this issue has not already been filed

### AdGuard Extension version

5.0.97

### Browser version

Chrome 128

### OS version

Windows 11

### Ad Blocking

_No response_

### Privacy

_No response_

### Social

_No response_

### Annoyances

_No response_

### Security

_No response_

### Other

_No response_

### Language-specific

_No response_

### What Tracking protection options do you have enabled?

_No response_

### Issue Details

Steps to reproduce:
1. Open new tab (you may need to open it on the Full screen)
2. Add this set of user rules:
```
||playzone.cz^$csp=child-src *
@@||playzone.cz^$csp=child-src *
```
3. Go to https://www.playzone.cz/clanky/222824-uz-asi-nikdy-neuvidim-tolik-penez-lituje-pokimane-sve-streamerske-loajality and check if the website is broken

Screenshot

![Screenshot](https://github.com/user-attachments/assets/082849d5-e749-4655-bbde-d8a8db20b4e5)

4. Delete previous user rules and add this set:

```
||playzone.cz^$csp=child-src *
||playzone.cz^$csp=child-src *,badfilter
```

5. Check the website from step 3
6. Delete previous user rules and add this set:

```
||playzone.cz^$csp=child-src *
@@||playzone.cz^$csp
```

7. Check the website from step 3

### Expected Behavior

_No response_

### Actual Behavior

Exceptions don't work and the rule breaks the website. The filtering log assumes that the rule was applied.

### Screenshots

Screenshot 1

### Additional Information

_No response_

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.