Skip to content

Commit 6c21508

Browse files
committed
Add redirect precedence to block page
1 parent a0bffd9 commit 6c21508

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/content/docs/cloudflare-one/policies/gateway/block-page.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ Gateway will now redirect users to a custom page when user traffic matches a Blo
4747

4848
<Render file="gateway/policy-context" />
4949

50+
#### Redirect precedence
51+
52+
Paths and queries in the redirect URL take precedence over the original URL. When you turn on **Send policy context**, Gateway will always append context to the end of the redirected URL. For example, if the original URL is `example.com/path/to/page?querystring=X&k=1` and the redirect URL is `cloudflare.com/redirect-path?querystring=Y`, Gateway will redirect requests to:
53+
54+
```txt ins="&[email protected]"
55+
cloudflare.com/redirect-path?querystring=Y&[email protected]
56+
```
57+
5058
### Customize the block page
5159

5260
<Render file="gateway/customize-block-page" />

0 commit comments

Comments
 (0)