diff options
author | Joe Orton <jorton@php.net> | 2005-01-11 14:09:56 +0000 |
---|---|---|
committer | Joe Orton <jorton@php.net> | 2005-01-11 14:09:56 +0000 |
commit | 15a00ec902bd5f9aac280510d08ef8f33ccd654a (patch) | |
tree | 2b1e445a53400371674a29acc6b6f3a86ffc55ba /sapi/apache2handler/php_functions.c | |
parent | 8391424f4d5e87935e217f411ac64f5ee2b10087 (diff) | |
download | php-git-15a00ec902bd5f9aac280510d08ef8f33ccd654a.tar.gz |
MFH: Fixed bug #30446 - virtual() includes files out of sequence,
work around 2.0 subrequest/internal redirect issue.
Diffstat (limited to 'sapi/apache2handler/php_functions.c')
-rw-r--r-- | sapi/apache2handler/php_functions.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sapi/apache2handler/php_functions.c b/sapi/apache2handler/php_functions.c index 0407379757..1da5223e1b 100644 --- a/sapi/apache2handler/php_functions.c +++ b/sapi/apache2handler/php_functions.c @@ -63,6 +63,11 @@ static request_rec *php_apache_lookup_uri(char *filename TSRMLS_DC) } ctx = SG(server_context); + + /* Ensure that the ap_r* layer is flushed, to work around 2.0 bug: + * http://issues.apache.org/bugzilla/show_bug.cgi?id=17629 */ + ap_rflush(ctx->r); + return ap_sub_req_lookup_uri(filename, ctx->r, ctx->r->output_filters); } |