#38904 [Ver->Ana]: apache2filter changes cwd to /

From: Date: Fri, 22 Sep 2006 12:42:13 +0000
Subject: #38904 [Ver->Ana]: apache2filter changes cwd to /
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-102526@lists.php.net to get a copy of this message
ID: 38904 Updated by: bjori@php.net Reported By: hannes dot magnusson at gmail dot com -Status: Verified +Status: Analyzed Bug Type: Apache2 related Operating System: FreeBSD6.1 PHP Version: 5CVS-2006-09-20 (CVS) New Comment: Patch: http://php.is/bugs/38904/apache2filter.patch.txt Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#102526) next »