You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/06/28 14:10:05 UTC

DO NOT REPLY [Bug 21162] New: - Corrupted output from SSI files if multiviews used

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21162>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21162

Corrupted output from SSI files if multiviews used

           Summary: Corrupted output from SSI files if multiviews used
           Product: Apache httpd-2.0
           Version: 2.0.46
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_deflate
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: st@kino-fahrplan.de


Testcase: 
Directory with option multiviews enabled, "AddOutputFilter INCLUDES .shtml" and
"AddOutputFilterByType DEFLATE text/html".
Apache 2.0.46 with the mod_deflate patch from
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19913 applied.

test.shtml:
  test.shtml, line 1
  <!--#include virtual="include" -->
  test.shtml, line 3

include.html:
  include.html, line 1

If test.shtml is requested with "Accept-Encoding: gzip" Apache returns
"Content-Encoding: gzip" and the uncompressed contents of include.html, followed
by the compressed content of test.shtml. Notice that the order is "include.html,
line 1", "test.shtml, line 1", "test.shtml, line 3", so it doesn't even get the
SSI thing correct on test.shtml.

Works fine if virtual="include" is replaced with virtual="include.html", i.e.
without content negotiation in the subrequest for include.html.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org