From 4829b93fb2d157631ad88960b506aadf7e7769a0 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sun, 19 Aug 2001 21:07:50 +0000 Subject: [PATCH] php_input_filter needs to ignore proxy requests else it swallows POST data that needs to be sent to the downstream server --- sapi/apache2filter/sapi_apache2.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c index 026fe4dc54..89003f8a9e 100644 --- a/sapi/apache2filter/sapi_apache2.c +++ b/sapi/apache2filter/sapi_apache2.c @@ -248,6 +248,10 @@ static int php_input_filter(ap_filter_t *f, apr_bucket_brigade *bb, apr_status_t rv; TSRMLS_FETCH(); + if (f->r->proxyreq) { + return ap_get_brigade(f->next, bb, mode, readbytes); + } + ctx = SG(server_context); INIT_CTX; -- 2.50.1