mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed bug #30446 - virtual() includes files out of sequence,
work around 2.0 subrequest/internal redirect issue.
This commit is contained in:
parent
376d5f6910
commit
cb6605c1a5
1 changed files with 5 additions and 0 deletions
|
@ -65,6 +65,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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue