From 6adebbf16264313652712ed227e2035b9ae35ec9 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Thu, 6 Dec 2001 00:53:58 +0000 Subject: call to ap_sub_req_lookup_uri() needs to pass ctx->f->next rather than NULL for next_filter argument in order for ap_run_sub_req() output to end up where expected. ("William A. Rowe, Jr." ) --- sapi/apache2filter/php_functions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/apache2filter') diff --git a/sapi/apache2filter/php_functions.c b/sapi/apache2filter/php_functions.c index 1cf72bff01..a9e4994f7b 100644 --- a/sapi/apache2filter/php_functions.c +++ b/sapi/apache2filter/php_functions.c @@ -45,7 +45,7 @@ static request_rec *php_apache_lookup_uri(INTERNAL_FUNCTION_PARAMETERS) convert_to_string_ex(p1); ctx = SG(server_context); - return ap_sub_req_lookup_uri(Z_STRVAL_PP(p1), ctx->f->r, NULL); + return ap_sub_req_lookup_uri(Z_STRVAL_PP(p1), ctx->f->r, ctx->f->next); } /* {{{ proto bool apache_sub_req(string uri) -- cgit v1.2.1