From: Justin Erenkrantz Date: Sun, 20 Jan 2002 18:53:31 +0000 (+0000) Subject: When doing input filtering, get out the way of anything that we don't want X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50ff70d607c18830173372971cd8840542568331;p=thirdparty%2Fapache%2Fhttpd.git When doing input filtering, get out the way of anything that we don't want to be explicitly involved in. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92946 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 862194c1750..ce208c0170d 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -540,8 +540,8 @@ apr_status_t ap_http_filter(ap_filter_t *f, apr_bucket_brigade *b, http_ctx_t *ctx = f->ctx; apr_status_t rv; - /* just get out of the way of this thing. */ - if (mode == AP_MODE_EATCRLF) { + /* just get out of the way of things we don't want. */ + if (mode != AP_MODE_READBYTES && mode != AP_MODE_GETLINE) { return ap_get_brigade(f->next, b, mode, block, readbytes); }