diff --git a/dnsapi/dns_ali.sh b/dnsapi/dns_ali.sh index 6936444e..d1f501d1 100755 --- a/dnsapi/dns_ali.sh +++ b/dnsapi/dns_ali.sh @@ -310,7 +310,7 @@ _ali_url_encode(){ ;; #other hex *) - printf '%%%s' "$_hex_code" | tr 'a-z' 'A-Z' + printf '%%%s' "$_hex_code" | tr '[:lower:]' '[:upper:]' ;; esac done