From e5088440267dc3aa4dc3da8a08e7dfc6ce607a4a Mon Sep 17 00:00:00 2001 From: crypto75 <1667688+crypto75@users.noreply.github.com> Date: Fri, 9 Apr 2021 17:41:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=89=E7=BA=A7=E5=9F=9F?= =?UTF-8?q?=E5=90=8D=E6=97=B6=E5=80=99=E7=9A=84=E5=8F=82=E6=95=B0=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update_aliyun_com.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/update_aliyun_com.sh b/update_aliyun_com.sh index c074518..0523216 100644 --- a/update_aliyun_com.sh +++ b/update_aliyun_com.sh @@ -147,6 +147,7 @@ build_Request() { string="Timestamp="$(date -u '+%Y-%m-%dT%H:%M:%SZ'); __URLARGS="$__URLARGS${__SEPARATOR}"$(percentEncode "${string%%=*}")"="$(percentEncode "${string#*=}") string="SignatureVersion=1.0"; __URLARGS="$__URLARGS${__SEPARATOR}"$(percentEncode "${string%%=*}")"="$(percentEncode "${string#*=}") string="SignatureNonce="$(cat '/proc/sys/kernel/random/uuid'); __URLARGS="$__URLARGS${__SEPARATOR}"$(percentEncode "${string%%=*}")"="$(percentEncode "${string#*=}") + string="DomainName=${__DOMAIN}"; __URLARGS="$__URLARGS${__SEPARATOR}"$(percentEncode "${string%%=*}")"="$(percentEncode "${string#*=}") # 对请求参数进行排序,用于生成签名 string=$(echo -n "$__URLARGS" | sed 's/\'"${__SEPARATOR}"'/\n/g' | sort | sed ':label; N; s/\n/\'"${__SEPARATOR}"'/g; b label')