AdguardTeam / AdguardTeam/AdguardBrowserExtension

Exceptions for csp rules don't work

Abierto
#2,965 1 comentario 0 reacciones 1 asignado Asignado a @Zauats Ver en GitHub
Bug MV3 Priority: P3 Status: In Progress Version: AdGuard v5.6
Lenguaje dominante
TypeScript
Estrellas
4.4k
Forks
449
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.