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

fix previous fix (discoservice)

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@662 44740490-163a-0410-bde0-09ae8108e29a
parent 10d7a75f
No related branches found
No related tags found
No related merge requests found
...@@ -23,17 +23,19 @@ $rememberEnabled = $config->getBoolean('idpdisco.enableremember', FALSE); ...@@ -23,17 +23,19 @@ $rememberEnabled = $config->getBoolean('idpdisco.enableremember', FALSE);
try { try {
if (!isset($_GET['entityID'])) throw new Exception('Missing parameter: entityID'); if (!isset($_GET['entityID'])) throw new Exception('Missing parameter: entityID');
if (!isset($_GET['return'])) throw new Exception('Missing parameter: return');
if (!isset($_GET['returnIDParam'])) throw new Exception('Missing parameter: returnIDParam');
$spentityid = $_GET['entityID']; $spentityid = $_GET['entityID'];
$return = $_GET['return']; $return = $_GET['return'];
// Default value for "returnIDParam". Added to support Shibboleth 2.0 SP which does not // Default value for "returnIDParam". Added to support Shibboleth 2.0 SP which does not
// send this parameter. // send this parameter.
// if (!isset($_GET['returnIDParam'])) throw new Exception('Missing parameter: returnIDParam');
$returnidparam = 'idpentityid'; $returnidparam = 'idpentityid';
//if (!isset($_GET['return'])) throw new Exception('Missing parameter: return'); //
if (isset($_GET['returnIDParam'])) { if (isset($_GET['returnIDParam'])) {
$returnidparam = $_GET['returnIDParam']; $returnidparam = $_GET['returnIDParam'];
} }
......
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