#32937 [Ctl->Csd]: PHP don't respect trailing slashes in open_basedir

From: Date: Tue, 27 Sep 2005 15:11:36 +0000
Subject: #32937 [Ctl->Csd]: PHP don't respect trailing slashes in open_basedir
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-85651@lists.php.net to get a copy of this message
 ID:               32937
 Updated by:       iliaa@php.net
 Reported By:      o dot schad at web dot de
-Status:           Critical
+Status:           Closed
 Bug Type:         Safe Mode/open_basedir
 Operating System: Linux
 PHP Version:      5.0.4
 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:
------------------------------------------------------------------------

[2005-09-27 15:56:35] dams@php.net

some more details and a piece of a patch : 

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323585

------------------------------------------------------------------------

[2005-05-06 03:08:14] sniper@php.net

Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.



------------------------------------------------------------------------

[2005-05-04 00:53:22] o dot schad at web dot de

Description:
------------
If I specify a path for open_basedir in php.ini like 
open_basedir=/t/ 
then I can still open files in /tmp but this shouldn't 
work. 
 
And why the fuck I have to add a trailing slash? This is a 
trap for everyone who don't reads the source code. 
 
I've fixed both issues, if someone is interested in a 
patch contact me, please. 



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32937&edit=1


Thread (6 messages)

« previous php.bugs (#85651) next »