Browse Source
Merge pull request #4754 from LJea/master
Improved api compatibility with devices
pull/4787/head
neil
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
dnsapi/dns_ali.sh
|
@ -117,7 +117,7 @@ _ali_urlencode() { |
|
|
_ali_nonce() { |
|
|
_ali_nonce() { |
|
|
#_head_n 1 </dev/urandom | _digest "sha256" hex | cut -c 1-31 |
|
|
#_head_n 1 </dev/urandom | _digest "sha256" hex | cut -c 1-31 |
|
|
#Not so good... |
|
|
#Not so good... |
|
|
date +"%s%N" |
|
|
|
|
|
|
|
|
date +"%s%N" | sed 's/%N//g' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
_check_exist_query() { |
|
|
_check_exist_query() { |
|
|