https://bz.apache.org/bugzilla/show_bug.cgi?id=66443

--- Comment #2 from abernal <[email protected]> ---
Tried to reproduce this with a real server: mod_include ("<!--#include
virtual="top/brand_menu.html"-->"), a per-directory RewriteRule retargeting
that included path to a different file (matching your config), and mod_brotli
("AddOutputFilterByType BROTLI_COMPRESS text/html"). Requesting with
"Accept-Encoding: br" and decoding with curl --compressed gave a clean, correct
page every time -- no corruption, no double-compression.

I also checked mod_include's subrequest handling
(modules/filters/mod_include.c): the "include virtual=" path already passes the
current filter chain's "f->next" into
ap_sub_req_lookup_uri()/ap_sub_req_lookup_file(), which is the standard way to
make the subrequest's content feed directly into the parent's filter chain
instead of running its own (e.g. compression) filters a second time. That
mechanism looks correctly wired.

Given your own comment #1 (curl --compressed gets the correct page, but a
"check from around the world" site shows line noise, i.e. it varies by network
path), this looks more likely to be an intermediary/CDN double-encoding the
response rather than something httpd itself is doing wrong. If you can still
reproduce it talking directly to the origin server (not through any CDN/proxy)
with a minimal config, that would help a lot in tracking this down further.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to