[cpp-sp] branch main updated: Fix a crash, wrong variable being encoded.

Codeberg noreply at shibboleth.net
Thu Jun 4 16:05:44 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/b138eb693e3df411fe29d2955b7dbcf15b85107f

The following commit(s) were added to refs/heads/main by this push:
     new b138eb69 Fix a crash, wrong variable being encoded.
b138eb69 is described below

commit b138eb693e3df411fe29d2955b7dbcf15b85107f
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Thu Jun 4 12:05:32 2026 -0400

    Fix a crash, wrong variable being encoded.
---
 shibsp/handler/impl/LogoutHandler.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shibsp/handler/impl/LogoutHandler.cpp b/shibsp/handler/impl/LogoutHandler.cpp
index 8d4589d5..62ac2346 100644
--- a/shibsp/handler/impl/LogoutHandler.cpp
+++ b/shibsp/handler/impl/LogoutHandler.cpp
@@ -84,7 +84,7 @@ pair<bool,long> LogoutHandler::notifyFrontChannel(SPRequest& request, bool conti
         token = request.getParameter("token");
     }
     if (token) {
-        locstr = locstr + "&token=" + encoder.encode(param);
+        locstr = locstr + "&token=" + encoder.encode(token);
     }
 
     // Add the notifier's return parameter to the destination location and redirect.

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list