mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-05 19:07:43 +00:00
code format
This commit is contained in:
parent
be71ae4650
commit
9ecfd8ed04
@ -94,11 +94,11 @@ _ali_urlencode() {
|
|||||||
while [ "$_h_i" -le "$_str_len" ]; do
|
while [ "$_h_i" -le "$_str_len" ]; do
|
||||||
_str_c="$(printf "%s" "$_str" | cut -c "$_h_i")"
|
_str_c="$(printf "%s" "$_str" | cut -c "$_h_i")"
|
||||||
case $_str_c in [a-zA-Z0-9.~_-])
|
case $_str_c in [a-zA-Z0-9.~_-])
|
||||||
printf "%s" "$_str_c"
|
printf "%s" "$_str_c"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
printf "%%%02X" "'$_str_c"
|
printf "%%%02X" "'$_str_c"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
_h_i="$(_math "$_h_i" + 1)"
|
_h_i="$(_math "$_h_i" + 1)"
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user