Skip to content

Commit

Permalink
one more update
Browse files Browse the repository at this point in the history
  • Loading branch information
el-termikael committed Jul 19, 2023
1 parent 4a004dd commit 2e6c27c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/general/ad-filtering/create-own-filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -1679,11 +1679,9 @@ In case of multiple `$removeheader` rules matching a single request, we will app

:::caution Restrictions

This type of rules can be used [**only in trusted filters**](#trusted-filters).
1. This type of rules can be used [**only in trusted filters**](#trusted-filters).

:::

In order to avoid compromising the security `$removeheader` cannot remove headers from the list below:
2. In order to avoid compromising the security `$removeheader` cannot remove headers from the list below:
* `access-control-allow-origin`
* `access-control-allow-credentials`
* `access-control-allow-headers`
Expand Down Expand Up @@ -1733,7 +1731,9 @@ In order to avoid compromising the security `$removeheader` cannot remove header
* `transfer-encoding`
* `upgrade`

`$removeheader` rules are only compatible with `$domain`, `$third-party`, `$app`, `$important`, `$match-case`, and [content type modifiers](#content-type-modifiers) such as `$script` and `$stylesheet`. The rules which have any other modifiers are considered invalid and will be discarded.
3. `$removeheader` rules are only compatible with `$domain`, `$third-party`, `$app`, `$important`, `$match-case`, and [content type modifiers](#content-type-modifiers) such as `$script` and `$stylesheet`. The rules which have any other modifiers are considered invalid and will be discarded.

:::

:::info Compatibility

Expand Down

0 comments on commit 2e6c27c

Please sign in to comment.