]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
fix separator parsing, PR #333
authorGiovanni Bechis <gbechis@apache.org>
Thu, 23 Mar 2023 08:02:47 +0000 (08:02 +0000)
committerGiovanni Bechis <gbechis@apache.org>
Thu, 23 Mar 2023 08:02:47 +0000 (08:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908658 13f79535-47bb-0310-9956-ffa450edef68

modules/session/mod_session.c

index 88b0df6635b6024ce4e34c7f125328ce8c2b7ca0..4dd88593af90c2e224a98d5c042d6fde5d68f798 100644 (file)
@@ -416,7 +416,7 @@ static apr_status_t session_identity_decode(request_rec * r, session_rec * z)
         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);
             }