summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorDoug MacEachern <dougm@php.net>2001-12-06 00:53:58 +0000
committerDoug MacEachern <dougm@php.net>2001-12-06 00:53:58 +0000
commit6adebbf16264313652712ed227e2035b9ae35ec9 (patch)
tree781412d2f09aef45c8fe88869c3908c76d986b3c /sapi
parentc08d1ad74c1acdbadfad7b14b8bd34920f384f72 (diff)
downloadphp-git-6adebbf16264313652712ed227e2035b9ae35ec9.tar.gz
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." <wrowe@rowe-clan.net>)
Diffstat (limited to 'sapi')
-rw-r--r--sapi/apache2filter/php_functions.c2
1 files changed, 1 insertions, 1 deletions
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)