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

$cookie modifier - rules with $ as a special character doesn't work #1085

Closed
AdamWr opened this issue Aug 16, 2019 · 1 comment
Closed

$cookie modifier - rules with $ as a special character doesn't work #1085

AdamWr opened this issue Aug 16, 2019 · 1 comment
Assignees
Milestone

Comments

@AdamWr
Copy link
Member

AdamWr commented Aug 16, 2019

It seems that it's impossible to use $ as a special character in regex rule with $cookie modifier.

Steps to reproduce

  1. Add this rule to user filter:
    $cookie=/^CONSENT\$/,domain=google.com
  2. Open https://www.google.com/

Expected behavior

CONSENT cookie should be removed.

Actual behavior

CONSENT cookie is not removed.

Rule like this works correctly:
$cookie=/^CONSENT/,domain=google.com

Screenshot:

image

Your environment

  • AdGuard for Windows nightly 7.1.2894 (CL 1.4.150)
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

5 participants