Skip to content

Commit f01841d

Browse files
RebeccaTamachirothomasgauvin
authored andcommitted
[SaaS] Remove wildcard CH limitation for custom metadata (#24035)
* Remove wildcard CH limitation for custom metadata * Re-add error code to reference table * Update error description to note reduced scope
1 parent dcaaf6d commit f01841d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/content/docs/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,8 @@ There are some limitations to the metadata that can be provided to Cloudflare:
117117
- Any origin resolution — for example, directing requests for a given hostname to a specific backend — must be provided as a hostname that exists within Cloudflare's DNS (even for non-authoritative setups). Providing an IP address directly will cause requests to error.
118118
- The total payload must not exceed 4 KB.
119119
- It requires a Cloudflare Worker that knows how to process the schema and trigger logic based on the contents.
120-
- Custom metadata cannot be set on custom hostnames that contain wildcards.
121120

122121
:::note
123-
124122
Be careful when modifying the schema. Adding, removing, or changing keys and possible values may cause the Cloudflare Worker to either ignore the data or return an error for requests that trigger it.
125123
:::
126124

src/content/docs/cloudflare-for-platforms/cloudflare-for-saas/reference/status-codes/custom-hostnames.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ head:
3636
| 400 | 1409 | Reserved top domain custom hostnames, such as 'test', 'example', 'invalid' or 'localhost', is not supported. Check your input and try again. |
3737
| 400 | 1410 | Unable to parse custom hostname - `:reason`. Check your input and try again. <br/> **Reasons:** <br/> publicsuffix: cannot derive eTLD+1 for domain `:domain` <br/> publicsuffix: invalid public suffix `:suffix` for domain `:domain` |
3838
| 400 | 1411 | Custom hostnames ending in example.com, example.net, or example.org are prohibited. Check your input and try again. |
39-
| 400 | 1412 | Custom metadata for wildcard custom hostnames is not supported. Check your input and try again. |
39+
| 400 | 1412 | Custom metadata for wildcard custom hostnames is not supported. Check your input and try again. <br/> **Note:** <br/> This message is only presented to customers who have opted out of wildcard support for custom metadata. |
4040
| 400 | 1415 | Invalid custom origin hostname. Custom origin hostnames have to be smaller than 256 characters in length, cannot be IP addresses, cannot contain any special characters such as ~~\`\`~~\`!@#$%^&\*()=+{}\[]\\ |
4141
| 400 | 1416 | Custom origin hostnames with non-ASCII characters are not supported. Check your input and try again. |
4242
| 400 | 1417 | Reserved top domain custom origin hostnames, such as 'test', 'example', 'invalid' or 'localhost', is not supported. Check your input and try again. |

0 commit comments

Comments
 (0)