You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gb...@apache.org on 2023/03/23 08:02:47 UTC

svn commit: r1908658 - /httpd/httpd/trunk/modules/session/mod_session.c

Author: gbechis
Date: Thu Mar 23 08:02:47 2023
New Revision: 1908658

URL: http://svn.apache.org/viewvc?rev=1908658&view=rev
Log:
fix separator parsing, PR #333

Modified:
    httpd/httpd/trunk/modules/session/mod_session.c

Modified: httpd/httpd/trunk/modules/session/mod_session.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/session/mod_session.c?rev=1908658&r1=1908657&r2=1908658&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/session/mod_session.c (original)
+++ httpd/httpd/trunk/modules/session/mod_session.c Thu Mar 23 08:02:47 2023
@@ -416,7 +416,7 @@ static apr_status_t session_identity_dec
         const char *psep = "=";
         char *key = apr_strtok(pair, psep, &plast);
         if (key && *key) {
-            char *val = apr_strtok(NULL, sep, &plast);
+            char *val = apr_strtok(NULL, psep, &plast);
             if (!val || !*val) {
                 apr_table_unset(z->entries, key);
             }