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 2015/06/17 19:55:54 UTC
[Bug 58049] New: Line-based reads are passed through input filters
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
[Bug 58049] Line-based reads are passed through input filters
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58049
Yann Ylavic <yl...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Yann Ylavic <yl...@gmail.com> ---
Backported to 2.4.15 in r1686272.
--
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
[Bug 58049] Line-based reads are passed through input filters
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58049
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |FixedInTrunk,
| |PatchAvailable
--- Comment #1 from Eric Covener <co...@gmail.com> ---
Thanks, r1686085 and will propose for 2.4.
--
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