AdguardBrowserExtension icon indicating copy to clipboard operation
AdguardBrowserExtension copied to clipboard

$redirect rule does not work if URL is blocked by the rule with negated content type modifier

Open Alex-302 opened this issue 3 years ago • 0 comments

Issue Details

  • AdGuard version: 4.0.181
  • **Browser and version:**102.0.5005.115
  • Operating system and version: Windows10
  • Filters you use in AdGuard: Base, AG social, 2x AG tracking, AG annoyances, Russian
  • Stealth Mode settings: All default
  • Other browser extensions: no

Steps to reproduce

Go to http://mshort.top/RplPl You will be redirected to test.madshiba.fun - the site, where an issue can be checked.

Actual Behavior

||js.wpadmngr.com/static/adManager.js$script,redirect=noopjs does not work without $important modifier, if URL js.wpadmngr.com/static/adManager.js is blocked by /admanager.$~object,domain=~admanager.alzura.com|~admanager.google.com

Expected Behavior

||js.wpadmngr.com/static/adManager.js$script,redirect=noopjs shoud work without redundant in this case $important modifier

Additional Information

Before test: Disable AdGuard Base filter and enable EasyList. Or add badfiltered rules

@@||js.wpadmngr.com/static/adManager.js$domain=test.madshiba.fun,badfilter
||js.wpadmngr.com/static/adManager.js$script,redirect=noopjs,important,badfilter

Alex-302 avatar Jun 27 '22 12:06 Alex-302