Skip to content

Commit 791ed4b

Browse files
committed
Add non-latin limitation to lists
1 parent ecfe5d2 commit 791ed4b

File tree

2 files changed

+7
-1
lines changed
  • src/content
    • docs/cloudflare-one/policies/gateway
    • partials/cloudflare-one/gateway/selectors

2 files changed

+7
-1
lines changed

src/content/docs/cloudflare-one/policies/gateway/lists.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,13 @@ Your lists can include up to 1,000 entries for Standard plans and 5,000 for Ente
4747

4848
Hostname lists do not support wildcard entries. You will need to add domains as exact matches. Adding a wildcard to lists comprised of hostnames will return an error when you save.
4949

50+
### Non-Latin characters
51+
52+
Gateway supports non-Latin characters by converting all domains and hostnames to [Punycode](https://www.rfc-editor.org/rfc/rfc3492.txt). Once you save a list with non-Latin characters, Gateway will display the entry as Punycode.
53+
5054
### Duplicate entries
5155

52-
Lists cannot have duplicate entries. Because hostnames are converted to [Punycode](https://www.rfc-editor.org/rfc/rfc3492.txt), multiple list entries that convert to the same string will count as duplicates. For example, `éxàmple.com` converts to `xn—xmple-rqa5d.com`, so including both `éxàmple.com` and `xn—xmple-rqa5d.com` in a list will result in a duplicate error.
56+
Lists cannot have duplicate entries. Because domains and hostnames are converted to [Punycode](#non-latin-characters), multiple list entries that convert to the same string will count as duplicates. For example, `éxàmple.com` converts to `xn—xmple-rqa5d.com`, so including both `éxàmple.com` and `xn—xmple-rqa5d.com` in a list will result in a duplicate error.
5357

5458
### URL slashes
5559

src/content/partials/cloudflare-one/gateway/selectors/host.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Use this selector to match against only the hostname specified. For example, you
99
| ------- | --------------------------------------------------- | --------------------- |
1010
| Host | <code>{props.APIendpoint} == \"example.com\"</code> | Before DNS resolution |
1111

12+
Gateway does not support non-Latin characters. To use a hostname with non-Latin characters, add it to a [list](/cloudflare-one/policies/gateway/lists/).
13+
1214
:::note
1315
Some hostnames (`example.com`) will invisibly redirect to the www subdomain (`www.example.com`). To match this type of website, use the [Domain](#domain) selector instead of the Host selector.
1416
:::

0 commit comments

Comments
 (0)