[Bug 61344] New: mod_rewrite RewriteRule prevents compressed request body to be inflated by mod_deflate

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 61344] New: mod_rewrite RewriteRule prevents compressed request body to be inflated by mod_deflate

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61344

            Bug ID: 61344
           Summary: mod_rewrite RewriteRule prevents compressed request
                    body to be inflated by mod_deflate
           Product: Apache httpd-2
           Version: 2.4.27
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_rewrite
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

Created attachment 35174
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35174&action=edit
Test suite, server files, shell script with POST requests

I have configured my apache installation to accept a gzipped body on http
requests adding 'SetInputFilter DEFLATE' in the Apache config file (on a global
scope).

It works as expected except in the case that a matching RewriteRule directive
is found. In that case the body is not decompressed and the 'Content-Encoding:
gzip' is still present a hint that the deflate module does not take place I
suppose.

I have prepared a test suite (attached) to reproduce the problem. It requires
mod_deflate and mod_filter to be already enabled. It also requires PHP to see
the dumped variables. The attachment includes a readme file with more details.

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

Loading...