[cpp-sp] branch main updated: Remove hex encoding of app ID in cookie names.
Codeberg
noreply at shibboleth.net
Mon Oct 5 15:06:19 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/20e96779d53dd975f7d881747bfce95b7f9c91ae
The following commit(s) were added to refs/heads/main by this push:
new 20e96779 Remove hex encoding of app ID in cookie names.
20e96779 is described below
commit 20e96779d53dd975f7d881747bfce95b7f9c91ae
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Mon Oct 5 11:06:05 2026 -0400
Remove hex encoding of app ID in cookie names.
---
shibsp/io/impl/CookieManager.cpp | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/shibsp/io/impl/CookieManager.cpp b/shibsp/io/impl/CookieManager.cpp
index 9978df3a..03082277 100644
--- a/shibsp/io/impl/CookieManager.cpp
+++ b/shibsp/io/impl/CookieManager.cpp
@@ -265,11 +265,8 @@ string CookieManager::computeCookieName(const SPRequest& request) const
// Otherwise, the base name is the default or the overridden name.
string cookieName(request.getRequestSettings().first->getString(m_overrideProperty.c_str(), m_defaultName.c_str()));
- // This is just a hex-encode to avoid a dependency on a hashing API.
- string decoration = request.getRequestSettings().first->getString(
+ return cookieName + '_' + request.getRequestSettings().first->getString(
RequestMapper::APPLICATION_ID_PROP_NAME, RequestMapper::APPLICATION_ID_PROP_DEFAULT);
-
- return cookieName + '_' + hex_encode(decoration);
}
void CookieManager::outputHeader(SPRequest& request, const char* name, const char* value, int maxAge) const
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list