#38904 [Asn->Csd]: apache2filter changes cwd to /

From: Date: Mon, 25 Sep 2006 14:49:42 +0000
Subject: #38904 [Asn->Csd]: apache2filter changes cwd to /
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-102644@lists.php.net to get a copy of this message
ID: 38904 Updated by: iliaa@php.net Reported By: hannes dot magnusson at gmail dot com -Status: Assigned +Status: Closed Bug Type: Apache2 related Operating System: FreeBSD6.1 PHP Version: 5CVS-2006-09-20 (CVS) Assigned To: john New Comment: This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. 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

« previous php.bugs (#102644) next »