mirror of
https://github.com/apache/httpd.git
synced 2025-07-25 17:01:22 +00:00
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
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user