[Koha-bugs] [Bug 17427] Replace CGI::Session with Data::Session

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 5 10:04:36 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17427

--- Comment #103 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 153039
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=153039&action=edit
Bug 17427: Retrieve sessionID from HTTP_COOKIE

To make some tests pass (t/db_dependent/Auth.t) and mimick what did
CGI::Session, but that is certainly useless and the tests should be
adjusted.

Commit modified, added ';' see comment 78
-        if ( $http_cookie && $http_cookie =~ m{CGISESSID=([^,:]*)} ) {
+        if ( $http_cookie && $http_cookie =~ m{CGISESSID=([^,:;]*)} ) {

sessionID was "a035bf508448b8b3ecd1ca23609b90b3; bib_list=; KohaOpacLanguage=;
JWT= "

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list