AdguardTeam / AdguardTeam/AdguardBrowserExtension

Exceptions for csp rules don't work

Aperta
#2,965 1 commento 0 reazioni 1 assegnatario Assegnata a @Zauats Vedi su GitHub
Bug MV3 Priority: P3 Status: In Progress Version: AdGuard v5.6
Lingua principale
TypeScript
Stelle
4.4k
Fork
449
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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_

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.