null terminator in the right spot for the tag_val if the value contained
backslashes. This caused #if, #elif, and #else expressions with backslashes
to be incorrectly evaluated.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89980
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.0.23-dev
+ *) Fixed an error in mod_include's directive parsing routines which
+ caused #if, #elif, and #else expressions containing backslashes
+ to be improperly evaluated. [Cliff Woolley]
+
*) Introduced new mod_autoindex IndexOptions flags; SuppressIcon to
drop the icon column, SuppressRules to drop the <hr> elements,
and HTMLTable to create rudimentary HTML table listings (implies
}
}
- *c++ = '\0'; /* Overwrites delimiter (term or WS) with NULL. */
- ctx->curr_tag_pos = c;
+ *(c-shift_val) = '\0'; /* Overwrites delimiter (term or WS) with NULL. */
+ ctx->curr_tag_pos = ++c;
if (dodecode) {
decodehtml(*tag_val);
}