AdguardBrowserExtension icon indicating copy to clipboard operation
AdguardBrowserExtension copied to clipboard

`$removeparam` incorrectly removes parameters from encoded URLs

Open Alex-302 opened this issue 11 months ago • 0 comments

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 and found no answer
  • [X] I checked to make sure that this issue has not already been filed

AdGuard Extension version

4.4.49

Browser version

Chrome, Firefox

OS version

Windows 10 x64

Ad Blocking

AdGuard Base filter

Privacy

AdGuard Tracking Protection filter, AdGuard URL Tracking filter

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. Enable AdGuard URL Tracking filter or add $removeparam=utm_campaign to user rules
  2. Go to https://adguardteam.github.io/AnonymousRedirect/redirect.html?url=https%3A%2F%2Fregister.hollywoodbets.net%2Fsouth-africa%2F1%3Futm_source%3DAdCash%26utm_medium%3DDirect%2B%26utm_campaign%3DGenericPopunder
  3. Click "Take me here" button

Expected Behavior

Extension removes only parameters, matched by the rules. Correct final destination (without applying removeparam rules): https://register.hollywoodbets.net/south-africa/1?utm_source=AdCash&utm_medium=Direct+&utm_campaign=GenericPopunder

Actual Behavior

Extension removes all parameters when enabled AdGuard URL Tracking filter

image

Redirects to a dummy page because of breakage the link.

Screenshots

No response

Additional Information

No response

Alex-302 avatar Dec 26 '24 13:12 Alex-302