fix: clarify Turnstile hostname management subdomain behavior - #29752
Merged
patriciasantaana merged 2 commits intoApr 27, 2026
Merged
Conversation
Rewrite the Subdomain behavior section to explicitly document that: - Adding a root domain (e.g. example.com) automatically covers all subdomains - Adding a specific subdomain restricts the widget to that subdomain and its children only - Wildcard characters are not supported in the input field, but subdomain inheritance is automatic Also adds a root domain example alongside the existing subdomain example, and a note about using specific subdomains for narrower scope. Addresses confusion reported by support agents (SPM-3371).
zeinjaber
requested review from
migueldemoura,
patriciasantaana and
punkeel
as code owners
April 10, 2026 19:30
Contributor
|
Hey there, we've marked this pull request as stale because there's no recent activity on it. This label helps us identify PRs that might need updates (or to be closed out by our team if no longer relevant). |
Maddy-Cloudflare
approved these changes
Apr 25, 2026
patriciasantaana
approved these changes
Apr 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
example.com) automatically authorizes all its subdomains (www.example.com,shop.example.com, etc.)*character is not accepted as input — not that there is no subdomain inheritanceContext
This was raised in an internal support chat where multiple agents were unsure whether adding a root domain covers subdomains. The current doc only shows a subdomain example (
www.example.com) and the "no wildcards" statement is easily misinterpreted.Testing
End-to-end testing was performed using a Cloudflare Worker deployed across three hostnames:
Test 1 — Root domain (
zein.firewall.team) in allowed list:zein.firewall.teamsub.zein.firewall.teamtest.zein.firewall.teamTest 2 — Only subdomain (
sub.zein.firewall.team) in allowed list:sub.zein.firewall.teamzein.firewall.teamtest.zein.firewall.teamRelated