This commit is contained in:
neil 2016-09-22 23:23:27 +08:00
parent 0c00e870c6
commit 48f02fb61b

View File

@ -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