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

Redirect rule causes a CSP error instead of redirecting #2913

Closed
3 tasks done
alexx7311 opened this issue Aug 23, 2024 · 5 comments
Closed
3 tasks done

Redirect rule causes a CSP error instead of redirecting #2913

alexx7311 opened this issue Aug 23, 2024 · 5 comments

Comments

@alexx7311
Copy link

alexx7311 commented Aug 23, 2024

Please answer the following questions for yourself before submitting an issue

  • Filters were updated before reproducing an issue
  • I checked the knowledge base and found no answer
  • I checked to make sure that this issue has not already been filed

AdGuard Extension version

4.4.18

Browser version

Chrome 127

OS version

Windows 11

Ad Blocking

AdGuard Base filter

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. Turn on the Base filter
  2. Go to any Spotify playlist on a free account (e.g. https://open.spotify.com/playlist/30ItA1hHyulAM5zsJnQuL4)
  3. Press Play and skip a few song for an ad to appear
Screenshot

Screenshot

Example of rules:

||media-us.amillionads.com/*.mp3$media,~xmlhttprequest,redirect=noopmp4-1s,domain=spotify.com
@@||media-us.amillionads.com/companion_images/$domain=open.spotify.com

Expected Behavior

No response

Actual Behavior

The ad is skipped but the player isn't working until you refresh the page.

Screenshots

Screenshot 1

Additional Information

No response

@alexx7311 alexx7311 added the Bug label Aug 23, 2024
@alexx7311
Copy link
Author

Related issue(MV3): #2900

@alexx7311
Copy link
Author

Another case. STR:

  1. Enable Base filter and Russian filter
  2. Add this rule to the User rules: ||strm.yandex.*/get/$script,xmlhttprequest,other,redirect=noopvast-3.0,domain=yastatic.net|kinopoisk.ru|frontend.vh.yandex.*
  3. Go to https://www.kinopoisk.ru/film/5212124/ and open any video on the page
Screenshot

Screenshot

@maximtop maximtop changed the title Redirect rule breaks the Spotify player when the ads appear Redirect rule blocks request in the Spotify player instead of redirecting Aug 26, 2024
@Alex-302
Copy link
Member

TODO: after relase the version with fix of $redirect rules, remove !+ NOT_PLATFORM(ext_chromium, ext_ff) hints in Spotify rules group or revert PR.

@adguard-bot adguard-bot changed the title Redirect rule blocks request in the Spotify player instead of redirecting Redirect rule causes a CSP error instead of redirecting Aug 28, 2024
@Yuki2718
Copy link

Another case AdguardTeam/AdguardFilters#192915

@slavaleleka
Copy link
Contributor

this issue was about MV2, and it was fixed

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

6 participants