[cpp-sp] branch main updated: Bake in a default response to force deployers to act.
Codeberg
noreply at shibboleth.net
Tue Feb 10 16:40:29 UTC 2026
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/4e389afd69b6d07cf8f2616355744c77b3e87c1d
The following commit(s) were added to refs/heads/main by this push:
new 4e389afd Bake in a default response to force deployers to act.
4e389afd is described below
commit 4e389afd69b6d07cf8f2616355744c77b3e87c1d
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Feb 10 11:40:16 2026 -0500
Bake in a default response to force deployers to act.
---
shibsp/handler/impl/LogoutInitiator.cpp | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/shibsp/handler/impl/LogoutInitiator.cpp b/shibsp/handler/impl/LogoutInitiator.cpp
index 547e9b6f..0df586b5 100644
--- a/shibsp/handler/impl/LogoutInitiator.cpp
+++ b/shibsp/handler/impl/LogoutInitiator.cpp
@@ -71,8 +71,12 @@ pair<bool,long> LogoutInitiator::run(SPRequest& request, bool isHandler) const
if (!dest) {
dest = request.getRequestSettings().first->getString(RequestMapper::LOGOUT_URL_PROP_NAME);
if (!dest) {
- dest = request.getRequestSettings().first->getString(RequestMapper::HOME_URL_PROP_NAME,
- RequestMapper::HOME_URL_PROP_DEFAULT);
+ stringstream s;
+ s << "<html><title>Logout Complete</title><body><h1>Logout Complete</h1>"
+ "<p>If you're seeing this page, the deployer failed to set a logoutURL setting "
+ "to redirect to a custom page for this application.</p>"
+ "</body></html>";
+ return make_pair(true, request.sendResponse(s));
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list