Skip to content

Commit

Permalink
improve the compatibility
Browse files Browse the repository at this point in the history
Fixed an issue where some embedded devices could not obtain nanoseconds resulting in abnormal parameter coding
  • Loading branch information
Boc-chi-no authored Aug 23, 2023
1 parent 0da839c commit 798a365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnsapi/dns_ali.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 798a365

Please sign in to comment.