Don't encode + (may fix: #1385)
This commit is contained in:
parent
f8aa6149f1
commit
33c764855d
|
@ -462,6 +462,7 @@ sub checkMessage {
|
||||||
|
|
||||||
# Response in body part
|
# Response in body part
|
||||||
$response = $req->param('SAMLResponse');
|
$response = $req->param('SAMLResponse');
|
||||||
|
$response =~ s/ /+/g;
|
||||||
$self->logger->debug("HTTP-POST: SAML Response $response");
|
$self->logger->debug("HTTP-POST: SAML Response $response");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -584,7 +584,8 @@ sub setHiddenFormValue {
|
||||||
# Store value
|
# Store value
|
||||||
if ( defined $val or !( $val & ~$val ) ) {
|
if ( defined $val or !( $val & ~$val ) ) {
|
||||||
$key = $prefix . $key;
|
$key = $prefix . $key;
|
||||||
$val =~ s/\+/%2B/g;
|
|
||||||
|
#$val =~ s/\+/%2B/g;
|
||||||
$req->{portalHiddenFormValues}->{$key} = $val;
|
$req->{portalHiddenFormValues}->{$key} = $val;
|
||||||
$self->logger->debug("Store $val in hidden key $key");
|
$self->logger->debug("Store $val in hidden key $key");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user