]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Follow-up to r1922931.
authorChristophe Jaillet <jailletc36@apache.org>
Fri, 6 Jun 2025 20:12:16 +0000 (20:12 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Fri, 6 Jun 2025 20:12:16 +0000 (20:12 +0000)
In set_cookie_name() and set_cookie_name2(), now that the empty 'name' argument is explicitly handled, the error message in check_string() can be simplified because the cookie name can't be empty anymore when this function is called.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1926188 13f79535-47bb-0310-9956-ffa450edef68

modules/session/mod_session_dbd.c

index 619addb7b693a0fd999c7eaad249a437bb81a8f9..65af9370f990edf16c9ef7ae9a02fc7d8266abb1 100644 (file)
@@ -537,7 +537,7 @@ static const char *check_string(cmd_parms * cmd, const char *string)
 {
     if (APR_SUCCESS != ap_cookie_check_string(string)) {
         return apr_pstrcat(cmd->pool, cmd->directive->directive,
-                           " cannot be empty, or contain '=', ';' or '&'.",
+                           " cannot contain '=', ';' or '&'.",
                            NULL);
     }
     return NULL;