mirror of https://github.com/jacekkow/keycloak-protocol-cas

Jacek Kowalski
4 hours ago f0ae5c2ca66a6d7b9b4c98cde5b6381d3fa470af
Integration tests: fix decoding of "&" into "&"
1 files modified
2 ■■■■■ changed files
integrationTest/suite.sh 2 ●●●●● patch | view | raw | blame | history
integrationTest/suite.sh
@@ -24,7 +24,7 @@
        exit 1
    fi
    local login_url=${BASH_REMATCH[1]//&/&}
    local login_url=${BASH_REMATCH[1]//\&/\&}
    local redirect_response=$($CURL -D - $cookie_options --data 'username=admin&password=admin' "$login_url")
    if [[ ! ($redirect_response =~ $ticket_pattern) ]] ; then
        echo "No service ticket found in response"