mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-30 18:07:15 +00:00 
			
		
		
		
	Fix an improbable corner case.
This commit is contained in:
		
							parent
							
								
									a25b2af66c
								
							
						
					
					
						commit
						f438ff4bab
					
				| @ -72,10 +72,11 @@ dns_he_rm() { | ||||
|   body="$body&hosted_dns_zoneid=$_zone_id" | ||||
|   body="$body&menu=edit_zone" | ||||
|   body="$body&hosted_dns_editzone=" | ||||
|   domain_regex="$(echo "$_full_domain" | sed 's/\./\\./g')" # escape dots | ||||
|   _record_id=$(_post "$body" "https://dns.he.net/" \ | ||||
|     | tr -d '\n' \ | ||||
|     | _egrep_o "data=\""${_txt_value}"([^>]+>){6}[^<]+<[^;]+;deleteRecord\('[0-9]+','${_full_domain}','TXT'\)" \ | ||||
|     | _egrep_o "[0-9]+','${_full_domain}','TXT'\)$" \ | ||||
|     | _egrep_o "data=\""${_txt_value}"([^>]+>){6}[^<]+<[^;]+;deleteRecord\('[0-9]+','${domain_regex}','TXT'\)" \ | ||||
|     | _egrep_o "[0-9]+','${domain_regex}','TXT'\)$" \ | ||||
|     | _egrep_o "^[0-9]+" | ||||
|   ) | ||||
|   # The series of egreps above could have been done a bit shorter but | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user