ap_is_initial_req() returns false for internal redirects.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395079
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.3.0
[Remove entries to the current 2.0 and 2.2 section below, when backported]
+ *) mod_deflate: Allow mod_deflate to handle internal redirects.
+ [ Brian J. France <list firehawksystems.com>]
+
*) HTML-escape the Expect error message. Not classed as security as
an attacker has no way to influence the Expect header a victim will
send to a target site. Reported by Thiago Zaninotti
const char *encoding;
/* only work on main request/no subrequests */
- if (!ap_is_initial_req(r)) {
+ if (r->main != NULL) {
ap_remove_output_filter(f);
return ap_pass_brigade(f->next, bb);
}