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
@@ -79,21 +79,21 @@
"expiresAt": "到期时间",
"selectZone": "请先选择 Zone",
"enterDomain": "请输入域名",
"noWildcard": "Zone 域名不支持通配符",
"noWildcard": "通配符只能是最左侧的完整标签 *,例如 *.example.com,且只能出现一次",
"invalidFormat": "域名格式不合法",
"invalidSubdomain": "子域名称格式不合法",
"mustBelongToZone": "域名必须属于 Zone {root}",
"domainAdded": "域名已添加",
"addFailed": "添加失败",
"quickCreateTitle": "快捷新增域名",
"quickCreateDesc": "选择 Zone 后输入:子域名称(如 api)、@(根域)或完整 FQDN。",
"quickCreateDesc": "输入子域名称(api)、@(根域)、*(根域下泛域名)或完整 FQDN。多级泛域名请填写完整名称,例如 *.s3.example.com,不支持 *.s3 简写。",
"selectRegisteredRoot": "选择注册根域",
"zoneLabel": "Zone:",
"domain": "域名",
"domainPlaceholderWithZone": "api 或 @ 或 api.{domain}",
"domainPlaceholder": "api / @ / 完整域名",
"domainPlaceholderWithZone": "api / @ / * / *.s3.{domain}",
"domainPlaceholder": "api / @ / * / 完整域名",
"willCreate": "将创建:",
"domainExample": "示例:输入 <api>api</api> → <fqdn>api.zone.com</fqdn>;<apex>@</apex> → 根域本身",
"domainExample": "示例:<api>api</api> → <fqdn>api.zone.com</fqdn>;<apex>@</apex> → 根域;* → *.zone.com。泛域名不能直接打开,请使用匹配的具体主机名访问。",
"certOptional": "证书(可选)",
"noCert": "不绑定证书"
},