Skip to content

Commit 9a2eca1

Browse files
author
Christophe Jaillet
committed
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
1 parent bc44c68 commit 9a2eca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/session/mod_session_dbd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ static const char *check_string(cmd_parms * cmd, const char *string)
537537
{
538538
if (APR_SUCCESS != ap_cookie_check_string(string)) {
539539
return apr_pstrcat(cmd->pool, cmd->directive->directive,
540-
" cannot be empty, or contain '=', ';' or '&'.",
540+
" cannot contain '=', ';' or '&'.",
541541
NULL);
542542
}
543543
return NULL;

0 commit comments

Comments
 (0)