#38904 [Ana->Asn]: apache2filter changes cwd to /
| From: | john@php.net | Date: | Fri, 22 Sep 2006 15:14:16 +0000 |
| Subject: | #38904 [Ana->Asn]: apache2filter changes cwd to / | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-102531@lists.php.net to get a copy of this message | ||
ID: 38904
Updated by: john@php.net
Reported By: hannes dot magnusson at gmail dot com
-Status: Analyzed
+Status: Assigned
Bug Type: Apache2 related
Operating System: FreeBSD6.1
PHP Version: 5CVS-2006-09-20 (CVS)
-Assigned To:
+Assigned To: john
Previous Comments:
------------------------------------------------------------------------
[2006-09-22 12:42:13] bjori@php.net
Patch: http://php.is/bugs/38904/apache2filter.patch.txt
------------------------------------------------------------------------
[2006-09-20 16:30:47] hannes dot magnusson at gmail dot com
Description:
------------
running apache2filter changes cwd to /
Caused by the re-implementation see:
http://news.php.net/php.cvs/39024
Reproduce code:
---------------
var_dump(getcwd(), realpath("."));
Actual result:
--------------
string(1) "/" string(1) "/"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38904&edit=1