#32937 [Bgs]: PHP don't respect trailing slashes in open_basedir
| From: | o dot schad at web dot de | Date: | Tue, 10 May 2005 08:00:54 +0000 |
| Subject: | #32937 [Bgs]: PHP don't respect trailing slashes in open_basedir | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-78842@lists.php.net to get a copy of this message | ||
ID: 32937
User updated by: o dot schad at web dot de
Reported By: o dot schad at web dot de
Status: Bogus
Bug Type: Safe Mode/open_basedir
Operating System: Linux
-PHP Version: 5.0.3
+PHP Version: 5.0.4
New Comment:
Same code in 5.0.4
Previous Comments:
------------------------------------------------------------------------
[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