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
+11 -12
View File
@@ -4,16 +4,15 @@
package zone
const (
errZoneDomainRequired = "domain name must not be empty"
errZoneRootInvalid = "zone must be a valid registered root domain"
errDomainInvalid = "invalid domain name format"
errDomainWildcardUnsupported = "wildcard domain names are not supported"
errDomainOutsideZone = "domain does not belong to this zone"
errZoneNotFound = "Zone was not found"
errDomainNotFound = "Domain was not found"
errDomainExists = "domain already exists"
errCertificateNotFound = "selected certificate was not found"
errDomainBoundToRoute = "domain is bound to a proxy route; remove the binding first"
errZoneHasDomains = "root domain still contains domains; delete them all first"
errStatsRangeInvalid = "invalid time range; select 24h, 7d or 30d"
errZoneDomainRequired = "domain name must not be empty"
errZoneRootInvalid = "zone must be a valid registered root domain"
errDomainInvalid = "invalid domain name format"
errDomainOutsideZone = "domain does not belong to this zone"
errZoneNotFound = "Zone was not found"
errDomainNotFound = "Domain was not found"
errDomainExists = "domain already exists"
errCertificateNotFound = "selected certificate was not found"
errDomainBoundToRoute = "domain is bound to a proxy route; remove the binding first"
errZoneHasDomains = "root domain still contains domains; delete them all first"
errStatsRangeInvalid = "invalid time range; select 24h, 7d or 30d"
)