[cpp-sp] branch main updated: SSPCPP-907 - SP redirects immediately when query string includes isPassive
Scott Cantor
cantor.2 at osu.edu
Thu Sep 10 14:46:27 UTC 2020
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository cpp-sp.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=b1fa8dc1d91d19f2d10fd23eb900e352ec780fa0
The following commit(s) were added to refs/heads/main by this push:
new b1fa8dc1 SSPCPP-907 - SP redirects immediately when query string includes isPassive
b1fa8dc1 is described below
commit b1fa8dc1d91d19f2d10fd23eb900e352ec780fa0
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Sep 10 10:45:00 2020 -0400
SSPCPP-907 - SP redirects immediately when query string includes isPassive
https://issues.shibboleth.net/jira/browse/SSPCPP-907
---
shibsp/handler/impl/SessionInitiator.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/shibsp/handler/impl/SessionInitiator.cpp b/shibsp/handler/impl/SessionInitiator.cpp
index 88a91539..c6b2a661 100644
--- a/shibsp/handler/impl/SessionInitiator.cpp
+++ b/shibsp/handler/impl/SessionInitiator.cpp
@@ -214,6 +214,7 @@ pair<bool,long> SessionInitiator::run(SPRequest& request, bool isHandler) const
flag = request.getParameter("target");
string target(flag ? flag : "");
recoverRelayState(request.getApplication(), request, request, target, false);
+ request.getApplication().limitRedirect(request, target.c_str());
return make_pair(true, request.sendRedirect(target.c_str()));
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list