goto out;
}
- if (*args[cur_arg + 1] != '.' || !strchr(args[cur_arg + 1] + 1, '.')) {
- /* rfc2109, 4.3.2 Rejecting Cookies */
- ha_warning("parsing [%s:%d]: domain '%s' contains no embedded"
- " dots nor does not start with a dot."
- " RFC forbids it, this configuration may not work properly.\n",
+ if (!strchr(args[cur_arg + 1], '.')) {
+ /* rfc6265, 5.2.3 The Domain Attribute */
+ ha_warning("parsing [%s:%d]: domain '%s' contains no embedded dot,"
+ " this configuration may not work properly (see RFC6265#5.2.3).\n",
file, linenum, args[cur_arg + 1]);
err_code |= ERR_WARN;
}