httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 58049] New: Line-based reads are passed through input filters
Date Wed, 17 Jun 2015 17:55:54 GMT

            Bug ID: 58049
           Summary: Line-based reads are passed through input filters
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_charset_lite

Created attachment 32834
Make mod_charset_lite and mod_ext_filter skip non-byte-based reads

It looks like some filters are improperly filtering on non-byte-based reads.
mod_deflate properly gets out of the way of anything with a mode other than
that, but, for example, mod_charset_lite does not. On z/OS, we saw this causing
400 errors because ap_rgetline() doesn't skip to http_in->next, and
mod_charset_lite was filtering the \r\n that terminates chunks (and,
potentially, trailer lines).

A simple patch is attached which simply makes mod_charset_lite and
mod_ext_filter skip reads which have modes other than AP_MODE_READBYTES set,
just like mod_deflate.

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message