mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-06-15 08:42:44 +00:00
Merge 21317e282195f63329c237684522415240f0953c into 3d8b682380773f01df0e5abc2ef582c30c663010
This commit is contained in:
commit
342cb9fc82
@ -136,7 +136,7 @@ _ISPC_getZoneInfo() {
|
|||||||
curResult="$(_post "${curData}" "${ISPC_Api}?client_get_id")"
|
curResult="$(_post "${curData}" "${ISPC_Api}?client_get_id")"
|
||||||
_debug "Calling _ISPC_ClientGetID: '${curData}' '${ISPC_Api}?client_get_id'"
|
_debug "Calling _ISPC_ClientGetID: '${curData}' '${ISPC_Api}?client_get_id'"
|
||||||
_debug "Result of _ISPC_ClientGetID: '$curResult'"
|
_debug "Result of _ISPC_ClientGetID: '$curResult'"
|
||||||
client_id=$(echo "${curResult}" | _egrep_o "response.*" | cut -d ':' -f 2 | cut -d '"' -f 2 | tr -d '{}')
|
client_id=$(echo "${curResult}" | _egrep_o "response.*" | cut -d ':' -f 2 | cut -d '"' -f 2 | cut -d '[' -f 1 | tr -d '{}')
|
||||||
_debug "Client ID: '${client_id}'"
|
_debug "Client ID: '${client_id}'"
|
||||||
case "${client_id}" in
|
case "${client_id}" in
|
||||||
'' | *[!0-9]*)
|
'' | *[!0-9]*)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user