]> git.proxmox.com Git - mirror_acme.sh.git/commitdiff
Merge pull request #4754 from LJea/master
authorneil <github@neilpang.com>
Mon, 4 Sep 2023 07:55:04 +0000 (15:55 +0800)
committerGitHub <noreply@github.com>
Mon, 4 Sep 2023 07:55:04 +0000 (15:55 +0800)
Improved api compatibility with devices

dnsapi/dns_ali.sh

index c21056726f04f4d9f628de27b220c5cd37524955..c69839dcbd27f5484f86dd61db3f56952ea209ab 100755 (executable)
@@ -117,7 +117,7 @@ _ali_urlencode() {
 _ali_nonce() {
   #_head_n 1 </dev/urandom | _digest "sha256" hex | cut -c 1-31
   #Not so good...
-  date +"%s%N"
+  date +"%s%N" | sed 's/%N//g'
 }
 
 _check_exist_query() {