Use tr '[:lower:]' '[:upper:]' to upcase
This commit is contained in:
parent
e4237092ae
commit
30b80f3489
@ -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…
Reference in New Issue
Block a user