[cpp-sp] 01/02: Revert "Backstop unwrapped redirects with sanity checks."
Codeberg
noreply at shibboleth.net
Thu Dec 4 22:15:01 UTC 2025
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository cpp-sp.
View the commit online:
https://codeberg.org/Shibboleth/cpp-sp/commit/d4853c8a1d8bd6b8cd2e06787c4450c5d0fcb595
commit d4853c8a1d8bd6b8cd2e06787c4450c5d0fcb595
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Dec 4 17:09:00 2025 -0500
Revert "Backstop unwrapped redirects with sanity checks."
This reverts commit 1e711bc1fce8f50a833c245584ae19e67547f0ce.
---
shibsp/handler/impl/AbstractHandler.cpp | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/shibsp/handler/impl/AbstractHandler.cpp b/shibsp/handler/impl/AbstractHandler.cpp
index 16f7eafe..3a57d2b7 100644
--- a/shibsp/handler/impl/AbstractHandler.cpp
+++ b/shibsp/handler/impl/AbstractHandler.cpp
@@ -180,10 +180,7 @@ pair<bool,long> AbstractHandler::unwrapResponse(SPRequest& request, DDF& wrapped
h = http["redirect"];
if (h.isstring()) {
- request.limitRedirect(h.string());
- string dest(h.string());
- request.absolutize(dest);
- return make_pair(true, request.sendRedirect(dest.c_str()));
+ return make_pair(true, request.sendRedirect(h.string()));
}
h = http["response"];
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list