[cpp-sp] branch main updated: Adjust cookie names in tests.
Codeberg
noreply at shibboleth.net
Wed Oct 7 15:52:55 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/b9366123fa12cd7e4d3a212d5aa6911d27f71d82
The following commit(s) were added to refs/heads/main by this push:
new b9366123 Adjust cookie names in tests.
b9366123 is described below
commit b9366123fa12cd7e4d3a212d5aa6911d27f71d82
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Wed Oct 7 11:52:44 2026 -0400
Adjust cookie names in tests.
---
tests/session/impl/FilesystemSessionCacheTests.cpp | 6 +++---
tests/session/impl/MemorySessionCacheTests.cpp | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/tests/session/impl/FilesystemSessionCacheTests.cpp b/tests/session/impl/FilesystemSessionCacheTests.cpp
index 5db68717..0ad22a91 100644
--- a/tests/session/impl/FilesystemSessionCacheTests.cpp
+++ b/tests/session/impl/FilesystemSessionCacheTests.cpp
@@ -174,7 +174,7 @@ BOOST_FIXTURE_TEST_CASE(FilessystemSessionCache_notonorafter, FilesystemFixture)
BOOST_CHECK(obj["session"].isnull());
BOOST_CHECK_EQUAL(key.c_str(), child.name());
- string cookieName("__Host-shibsession_637573746f6d");
+ string cookieName("__Host-shibsession_custom");
string header(cookieName);
header = header + '=' + key + ".1";
header += "; Path=/; Secure=1; HttpOnly=1; SameSite=None";
@@ -219,7 +219,7 @@ BOOST_FIXTURE_TEST_CASE(FilesystemSessionCache_tests, FilesystemFixture)
BOOST_CHECK(obj["session"].isnull());
BOOST_CHECK_EQUAL(key.c_str(), child.name());
- string cookieName("__Host-shibsession_637573746f6d");
+ string cookieName("__Host-shibsession_custom");
string header(cookieName);
header = header + '=' + key + ".1";
header += "; Path=/; Secure=1; HttpOnly=1; SameSite=None";
@@ -280,7 +280,7 @@ BOOST_FIXTURE_TEST_CASE(FilesystemSessionCache_testUpdate, FilesystemFixture)
BOOST_CHECK_EQUAL(key.c_str(), child.name());
// Bind session to request with cookie.
- string cookieName("__Host-shibsession_637573746f6d");
+ string cookieName("__Host-shibsession_custom");
string cookie(cookieName);
cookie = cookie + '=' + key + ".1";
request.m_requestHeaders["Cookie"] = cookie;
diff --git a/tests/session/impl/MemorySessionCacheTests.cpp b/tests/session/impl/MemorySessionCacheTests.cpp
index a75a1620..fadb4e18 100644
--- a/tests/session/impl/MemorySessionCacheTests.cpp
+++ b/tests/session/impl/MemorySessionCacheTests.cpp
@@ -95,7 +95,7 @@ BOOST_FIXTURE_TEST_CASE(MemorySessionCache_notonorafter, MemoryFixture)
BOOST_CHECK(obj["session"].isnull());
BOOST_CHECK_EQUAL(key.c_str(), child.name());
- string cookieName("__Host-shibsession_637573746f6d");
+ string cookieName("__Host-shibsession_custom");
string header(cookieName);
header = header + '=' + key + ".1";
header += "; Path=/; Secure=1; HttpOnly=1; SameSite=None";
@@ -126,7 +126,7 @@ BOOST_FIXTURE_TEST_CASE(MemorySessionCache_tests, MemoryFixture)
BOOST_CHECK(obj["session"].isnull());
BOOST_CHECK_EQUAL(key.c_str(), child.name());
- string cookieName("__Host-shibsession_637573746f6d");
+ string cookieName("__Host-shibsession_custom");
string header(cookieName);
header = header + '=' + key + ".1";
header += "; Path=/; Secure=1; HttpOnly=1; SameSite=None";
@@ -191,7 +191,7 @@ BOOST_FIXTURE_TEST_CASE(MemorySessionCache_testUpdate, MemoryFixture)
BOOST_CHECK_EQUAL(key.c_str(), child.name());
// Bind session to request with cookie.
- string cookieName("__Host-shibsession_637573746f6d");
+ string cookieName("__Host-shibsession_custom");
string cookie(cookieName);
cookie = cookie + '=' + key + ".1";
request.m_requestHeaders["Cookie"] = cookie;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list