feat(domain): 支持通配符域名及关联功能适配 (#63)

* feat(domain): 支持通配符域名及关联功能适配

* fix(domain): preserve legacy Unicode imports and address review findings

* fix(domain): canonicalize legacy IDNs and exclude empty host labels

* fix(domain): normalize equivalent Unicode IDN spellings

---------

Co-authored-by: Ryan <63696351+Rain-kl@users.noreply.github.com>
Co-authored-by: ryan <ryan@arctel.net>
This commit is contained in:
Deqiying
2026-11-09 10:31:03 +08:00
committed by GitHub
parent 8d8b3e1ea8
commit 9a51a68206
37 changed files with 1614 additions and 113 deletions
+5 -5
View File
@@ -79,21 +79,21 @@
"expiresAt": "Expires",
"selectZone": "Select a Zone first",
"enterDomain": "Enter a domain",
"noWildcard": "Zone domains do not support wildcards",
"noWildcard": "A wildcard must be a single * in the leftmost label, such as *.example.com",
"invalidFormat": "Invalid domain format",
"invalidSubdomain": "Invalid subdomain name format",
"mustBelongToZone": "The domain must belong to Zone {root}",
"domainAdded": "Domain added",
"addFailed": "Add failed",
"quickCreateTitle": "Quick add domain",
"quickCreateDesc": "After selecting a Zone, enter a subdomain name (such as api), @ (the root), or a full FQDN.",
"quickCreateDesc": "Enter a subdomain (api), @ (the root), * (wildcard under the root), or a full FQDN. For nested wildcards, enter the full name, such as *.s3.example.com; *.s3 shorthand is not supported.",
"selectRegisteredRoot": "Select registered root domain",
"zoneLabel": "Zone:",
"domain": "Domain",
"domainPlaceholderWithZone": "api or @ or api.{domain}",
"domainPlaceholder": "api / @ / full domain",
"domainPlaceholderWithZone": "api / @ / * / *.s3.{domain}",
"domainPlaceholder": "api / @ / * / full domain",
"willCreate": "Will create:",
"domainExample": "Example: enter <api>api</api> → <fqdn>api.zone.com</fqdn>; <apex>@</apex> → the root itself",
"domainExample": "Example: <api>api</api> → <fqdn>api.zone.com</fqdn>; <apex>@</apex> → the root; * → *.zone.com. A wildcard cannot be opened directly; visit a concrete matching hostname.",
"certOptional": "Certificate (optional)",
"noCert": "No certificate"
},