AdguardBrowserExtension icon indicating copy to clipboard operation
AdguardBrowserExtension copied to clipboard

'$cookie' exclusion breaks sites in Firefox

Open Alex-302 opened this issue 2 years ago • 2 comments

AdGuard Extension version

4.2.189

Browser version

Firefox

OS version

unknown

What filters do you have enabled?

AdGuard Base filter, AdGuard Japanese filter, AdGuard Tracking Protection filter, AdGuard Social Media filter, AdGuard Annoyances filter

What Stealth Mode options do you have enabled?

No response

Issue Details

Original issue: https://github.com/AdguardTeam/AdguardFilters/issues/164150

With enabled Tracking Protection filter https://store-jp.nintendo.com/ after login redirects to https://store-jp.nintendo.com/on/demandware.store/Sites-MNS-Site/ja_JP/CSRF-Fail because of the cookie rules exclusion @@||store-jp.nintendo.com^$cookie

Once you fixed and refreshed (e.g. by removing the rule), it will no more happen until you clear everything and sing in again.

Screenshot

image

It happens only in Firefox with the browser extension.

To reproduce this problem you need an account, Japanese VPN and the rules in user filter:

@@||store-jp.nintendo.com^$cookie
$cookie=/dwac_/
$cookie=/^_ga_/

Expected Behavior

Exclusion @@||store-jp.nintendo.com^$cookie should not break sites.

Screenshots

No response

Additional Information

Please mention @AdguardTeam/filters-maintainers when it will be fixed.

Alex-302 avatar Oct 20 '23 17:10 Alex-302

Another issue https://github.com/AdguardTeam/AdguardFilters/issues/171997#issuecomment-1925455675.

zloyden avatar Feb 06 '24 08:02 zloyden

https://github.com/AdguardTeam/AdguardFilters/issues/172656. STR - first route - do as user said in the report. The second route of the STR:

  1. Disable all the filters
  2. Add one of these rules to the user rules
$cookie=/dwac_/,domain=~nintendo.com
@@||eu.puma.com^$cookie
  1. Open in the private mode eu.puma.com
  2. The page won't open, you'll get an error

zloyden avatar Feb 12 '24 11:02 zloyden