mirror of
				https://github.com/go-acme/lego.git
				synced 2025-10-31 08:27:38 +02:00 
			
		
		
		
	tencentcloud: support punycode domain (#1788)
This commit is contained in:
		| @@ -38,7 +38,8 @@ func (d *DNSProvider) getHostedZone(domain string) (*dnspod.DomainListItem, erro | ||||
|  | ||||
| 	var hostedZone *dnspod.DomainListItem | ||||
| 	for _, zone := range domains { | ||||
| 		if *zone.Name == dns01.UnFqdn(authZone) { | ||||
| 		unfqdn := dns01.UnFqdn(authZone) | ||||
| 		if *zone.Name == unfqdn || *zone.Punycode == unfqdn { | ||||
| 			hostedZone = zone | ||||
| 		} | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user