mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-10 09:22:47 +00:00
Trimmed away extra white spaces
Prettyprinting
This commit is contained in:
parent
ecc71d1172
commit
e481be1097
@ -19,7 +19,7 @@ __urlencode() {
|
|||||||
c=${string:$pos:1}
|
c=${string:$pos:1}
|
||||||
case "$c" in
|
case "$c" in
|
||||||
[-_.~a-zA-Z0-9] ) o="${c}" ;;
|
[-_.~a-zA-Z0-9] ) o="${c}" ;;
|
||||||
* ) printf -v o '%%%02x' "'$c"
|
*) printf -v o '%%%02x' "'$c"
|
||||||
esac
|
esac
|
||||||
encoded+="${o}"
|
encoded+="${o}"
|
||||||
done
|
done
|
||||||
@ -55,7 +55,7 @@ cpanel_uapi_deploy() {
|
|||||||
_certstr=$(cat "$_ccert")
|
_certstr=$(cat "$_ccert")
|
||||||
_keystr=$(cat "$_ckey")
|
_keystr=$(cat "$_ckey")
|
||||||
_cert=$(__urlencode "$_certstr")
|
_cert=$(__urlencode "$_certstr")
|
||||||
_key=$(__urlencode "$_keystr")
|
_key=$(__urlencode "$_keystr")
|
||||||
|
|
||||||
_debug _cert "$_cert"
|
_debug _cert "$_cert"
|
||||||
_debug _key "$_key"
|
_debug _key "$_key"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user