From d50976370ec333da4fc19bf12480365dff1483cd Mon Sep 17 00:00:00 2001 From: cantor Date: Wed, 26 Mar 2008 01:37:44 +0000 Subject: [PATCH] Fix for SSPCPP-84. git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@2789 cb58f699-b61c-0410-a6fe-9272a202ed29 --- shibsp/handler/impl/SAML2SessionInitiator.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/shibsp/handler/impl/SAML2SessionInitiator.cpp b/shibsp/handler/impl/SAML2SessionInitiator.cpp index 9906907..0454e4d 100644 --- a/shibsp/handler/impl/SAML2SessionInitiator.cpp +++ b/shibsp/handler/impl/SAML2SessionInitiator.cpp @@ -242,11 +242,9 @@ pair SAML2SessionInitiator::run(SPRequest& request, string& entityID, } option = request.getParameter("target"); - if (option) + if (option) { target = option; - if (acsByIndex.first && !acsByIndex.second) { - // Since we're passing the ACS by value, we need to compute the return URL, - // so we'll need the target resource for real. + // Always need to recover target URL to compute handler below. recoverRelayState(request.getApplication(), request, request, target, false); } -- 2.1.4