Skip to content
Snippets Groups Projects
Commit 42a7c5ee authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Removed the strict parameter from base64_decode, to be more compatible with...

Removed the strict parameter from base64_decode, to be more compatible with pre-5.2 php. Thanks to Klaas Wierenga for reporting this issue.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@474 44740490-163a-0410-bde0-09ae8108e29a
parent cc745701
No related branches found
No related tags found
No related merge requests found
......@@ -118,7 +118,7 @@ class SimpleSAML_Bindings_SAML20_HTTPRedirect {
}
// getting signature from get arguments
$signature = @base64_decode($_GET['Signature'], TRUE);
$signature = @base64_decode($_GET['Signature']);
if (!$signature) {
throw new Exception('Error base64 decoding signature parameter.');
}
......@@ -219,7 +219,7 @@ class SimpleSAML_Bindings_SAML20_HTTPRedirect {
$relaystate = NULL;
}
$decodedRequest = @base64_decode($rawRequest, TRUE);
$decodedRequest = @base64_decode($rawRequest);
if (!$decodedRequest) {
throw new Exception('Could not base64 decode SAMLRequest GET parameter');
}
......@@ -255,7 +255,7 @@ class SimpleSAML_Bindings_SAML20_HTTPRedirect {
$relaystate = NULL;
}
$decodedRequest = @base64_decode($rawRequest, TRUE);
$decodedRequest = @base64_decode($rawRequest);
if (!$decodedRequest) {
throw new Exception('Could not base64 decode SAMLRequest GET parameter');
}
......@@ -293,7 +293,7 @@ class SimpleSAML_Bindings_SAML20_HTTPRedirect {
$relaystate = NULL;
}
$decodedRequest = @base64_decode($rawRequest, TRUE);
$decodedRequest = @base64_decode($rawRequest);
if (!$decodedRequest) {
throw new Exception('Could not base64 decode SAMLRequest GET parameter');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment