From 84205dd4184495a55d701fafeb743d96630e1bd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20P=C3=A9rez=20Crespo?= <jaime.perez@uninett.no> Date: Mon, 12 Aug 2013 09:40:50 +0000 Subject: [PATCH] Revert "Bugfix for issue #561." This reverts commit 391145ae84d5aa4150ff5747a304d0af2aeb161f. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3261 44740490-163a-0410-bde0-09ae8108e29a --- modules/saml/lib/IdP/SAML2.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/modules/saml/lib/IdP/SAML2.php b/modules/saml/lib/IdP/SAML2.php index 79c147a42..8b8897eb4 100644 --- a/modules/saml/lib/IdP/SAML2.php +++ b/modules/saml/lib/IdP/SAML2.php @@ -551,13 +551,7 @@ class sspmod_saml_IdP_SAML2 { 'idpEntityID' => $idpMetadata->getString('entityid'), )); - $dst = $spMetadata->getDefaultEndpoint('SingleLogoutService', array( - SAML2_Const::BINDING_HTTP_REDIRECT, - SAML2_Const::BINDING_HTTP_POST) - ); - $binding = SAML2_Binding::getBinding($dst['Binding']); - $lr->setDestination($dst['Location']); - + $binding = new SAML2_HTTPRedirect(); return $binding->getRedirectURL($lr); } -- GitLab