*) mod_xml2enc: Fix problems with charset conversion altering the
Content-Length. [Micha Lenk <micha lenk info>]
Reviewed/backported by: jim
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1422871 13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.4.4
+ *) mod_xml2enc: Fix problems with charset conversion altering the
+ Content-Length. [Micha Lenk <micha lenk info>]
+
*) ap_expr: Add req_novary function that allows HTTP header lookups
without adding the name to the Vary header. [Stefan Fritsch]
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- * mod_xml2enc: Fix problems with charset conversion altering the
- Content-Length. [Micha Lenk <micha lenk info>]
- trunk patch: http://svn.apache.org/viewvc?view=revision&revision=1407248
- 2.4.x patch: Trunk patch works.
- +1: rjung, sf, jim
-
* <If>:
- Make <If> sections in virtual host context fill in cmd->path so that
other directive notice that they are in a config section.
/* nah, we only have one action here - call it inline */
fix_skipto(f->r, ctx);
+ /* we might change the Content-Length, so let's force its re-calculation */
+ apr_table_unset(f->r->headers_out, "Content-Length");
+
/* consume the data we just sniffed */
/* we need to omit any <meta> we just invalidated */
ctx->flags |= ENC_INITIALISED;