From 6f08d5e759bec3e23ee28602dbba5577ebd51ec7 Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Thu, 10 Apr 2003 11:33:45 +0000 Subject: [PATCH] Make Apache 2 define SG(request_info).path_translated like Apache 1 did. --- sapi/apache2handler/sapi_apache2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c index f99cc5c9b7f..f6697ba6ac5 100644 --- a/sapi/apache2handler/sapi_apache2.c +++ b/sapi/apache2handler/sapi_apache2.c @@ -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);