Note that "nonfatal=" (without anything else) or "nonfatal=foo" are still not reported as erroneous and are silently ignored.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1881311 13f79535-47bb-0310-9956-
ffa450edef68
d->override |= OR_INDEXES;
}
else if (!ap_cstr_casecmp(w, "Nonfatal")) {
- if (!ap_cstr_casecmp(v, "Override")) {
+ if (!v) {
+ return apr_pstrcat(cmd->pool, "=Override, =Unknown or =All expected after ", w, NULL);
+ }
+ else if (!ap_cstr_casecmp(v, "Override")) {
d->override |= NONFATAL_OVERRIDE;
}
else if (!ap_cstr_casecmp(v, "Unknown")) {