mirror of
https://github.com/php/php-src.git
synced 2024-12-14 04:16:30 +08:00
Make Apache 2 define SG(request_info).path_translated like Apache 1 did.
This commit is contained in:
parent
2849872f19
commit
6f08d5e759
@ -412,6 +412,7 @@ static void php_apache_request_ctor(request_rec *r, php_struct *ctx TSRMLS_DC)
|
||||
SG(request_info).query_string = apr_pstrdup(r->pool, r->args);
|
||||
SG(request_info).request_method = r->method;
|
||||
SG(request_info).request_uri = apr_pstrdup(r->pool, r->uri);
|
||||
SG(request_info).path_translated = apr_pstrdup(r->pool, r->filename);
|
||||
r->no_local_copy = 1;
|
||||
|
||||
content_type = sapi_get_default_content_type(TSRMLS_C);
|
||||
|
Loading…
Reference in New Issue
Block a user