diff --git a/acme.sh b/acme.sh index 60210c7..5b9f2a7 100755 --- a/acme.sh +++ b/acme.sh @@ -2737,7 +2737,7 @@ _deactivate() { return 1 fi - authzUri="$(echo "$responseHeaders" | grep "^Location:" | cut -d ' ' -f 2)" + authzUri="$(echo "$responseHeaders" | grep "^Location:" | cut -d ' ' -f 2 | tr -d "\r\n")" _info "authzUri" "$authzUri" if [ ! -z "$code" ] && [ ! "$code" = '201' ] ; then