httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 58049] New: Line-based reads are passed through input filters
Date Wed, 17 Jun 2015 17:55:54 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=58049

            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
          Assignee: bugs@httpd.apache.org
          Reporter: Chaosed0@gmail.com

Created attachment 32834
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=32834&action=edit
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message