https://issues.shibboleth.net/jira/browse/SSPCPP-116
authorScott Cantor <cantor.2@osu.edu>
Mon, 16 Jun 2008 18:05:18 +0000 (18:05 +0000)
committerScott Cantor <cantor.2@osu.edu>
Mon, 16 Jun 2008 18:05:18 +0000 (18:05 +0000)
shibsp/handler/impl/SAML2SessionInitiator.cpp

index f4dac41..7909bb9 100644 (file)
@@ -242,11 +242,11 @@ pair<bool,long> SAML2SessionInitiator::run(SPRequest& request, string& entityID,
         }
 
         option = request.getParameter("target");
-        if (option) {
+        if (option)
             target = option;
-            // Always need to recover target URL to compute handler below.
-            recoverRelayState(request.getApplication(), request, request, target, false);
-        }
+            
+        // Always need to recover target URL to compute handler below.
+        recoverRelayState(request.getApplication(), request, request, target, false);
 
         pair<bool,bool> flag;
         option = request.getParameter("isPassive");