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
{
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;