cvs: php4 /sapi/apache2filter php_functions.c
| From: | Doug MacEachern | Date: | Thu, 06 Dec 2001 00:53:58 +0000 |
| Subject: | cvs: php4 /sapi/apache2filter php_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8450@lists.php.net to get a copy of this message | ||
dougm Wed Dec 5 19:53:58 2001 EDT
Modified files:
/php4/sapi/apache2filter php_functions.c
Log:
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>)
Index: php4/sapi/apache2filter/php_functions.c
diff -u php4/sapi/apache2filter/php_functions.c:1.12 php4/sapi/apache2filter/php_functions.c:1.13
--- php4/sapi/apache2filter/php_functions.c:1.12 Wed Dec 5 17:56:23 2001
+++ php4/sapi/apache2filter/php_functions.c Wed Dec 5 19:53:58 2001
@@ -45,7 +45,7 @@
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)