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

$path modifier does not work with query params #1817

Closed
Michael1297 opened this issue Oct 17, 2023 · 1 comment
Closed

$path modifier does not work with query params #1817

Michael1297 opened this issue Oct 17, 2023 · 1 comment

Comments

@Michael1297
Copy link

Maybe it's a bug. For example: this rule does not apply on https://example.com/?test

[$path=/test/]example.com##body

In my private filter, there are several rules for which I have to use the $url modifier to make them work properly.

@grumaxxx
Copy link

@Michael1297

As for the $path modifier, it is not documented at the moment how it will work with query params in pattern.

You can check our Knowledge Base for more examples.

As an alternative, you might consider using the url modifier:

[$url=/test/]example.com##body

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

4 participants