Skip to content

Commit

Permalink
fix method modifier restrictions
Browse files Browse the repository at this point in the history
  • Loading branch information
slavaleleka authored Aug 23, 2023
2 parents da54692 + 8e9db7a commit e9b807e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/general/ad-filtering/create-own-filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -527,10 +527,10 @@ This modifier limits the rule scope to requests that use the specified set of HT
- `@@||evil.com$method=get` unblocks only GET requests to `evil.com`.
- `@@||evil.com$method=~post` unblocks any requests to `evil.com` except POST.

:::note
:::caution Restrictions

Rules with mixed value restriction are considered invalid. So, for example, the rule
`||evil.com^$method=get|~head` will be rejected.
Rules with mixed negated and not negated values are considered invalid.
So, for example, the rule `||evil.com^$method=get|~head` will be rejected.

:::

Expand Down

0 comments on commit e9b807e

Please sign in to comment.