Browse Source

Use `tr '[:lower:]' '[:upper:]'` to upcase

pull/2772/head
cxgreat2014 5 years ago
committed by GitHub
parent
commit
30b80f3489
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dnsapi/dns_ali.sh

2
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

Loading…
Cancel
Save