mirror of
https://github.com/php/php-src.git
synced 2026-04-26 01:18:19 +02:00
Make Apache 2 define SG(request_info).path_translated like Apache 1 did.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user