Don't encode + (may fix: #1385)

This commit is contained in:
Xavier Guimard 2018-03-10 09:33:14 +01:00
parent f8aa6149f1
commit 33c764855d
2 changed files with 3 additions and 1 deletions

View File

@ -462,6 +462,7 @@ sub checkMessage {
# Response in body part
$response = $req->param('SAMLResponse');
$response =~ s/ /+/g;
$self->logger->debug("HTTP-POST: SAML Response $response");
}

View File

@ -584,7 +584,8 @@ sub setHiddenFormValue {
# Store value
if ( defined $val or !( $val & ~$val ) ) {
$key = $prefix . $key;
$val =~ s/\+/%2B/g;
#$val =~ s/\+/%2B/g;
$req->{portalHiddenFormValues}->{$key} = $val;
$self->logger->debug("Store $val in hidden key $key");
}