From 9a2eca1ca1cd549bad0a795f53da9a12f7b50bfc Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Fri, 6 Jun 2025 20:12:16 +0000 Subject: [PATCH] Follow-up to r1922931. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/session/mod_session_dbd.c b/modules/session/mod_session_dbd.c index 619addb7b6..65af9370f9 100644 --- a/modules/session/mod_session_dbd.c +++ b/modules/session/mod_session_dbd.c @@ -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;