Commit 33c76485 authored by Yadd's avatar Yadd

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

parent f8aa6149
...@@ -462,6 +462,7 @@ sub checkMessage { ...@@ -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 { ...@@ -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");
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment