|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32937 PHP don't respect trailing slashes in open_basedir
Submitted: 2005-05-04 00:53 UTC Modified: 2005-09-27 17:11 UTC
From: o dot schad at web dot de Assigned:
Status: Closed Package: Safe Mode/open_basedir
PHP Version: 5.0.4 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: o dot schad at web dot de
New email:
PHP Version: OS:


 [2005-05-04 00:53 UTC] o dot schad at web dot de
If I specify a path for open_basedir in php.ini like 
then I can still open files in /tmp but this shouldn't 
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. 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-27 15:56 UTC]
some more details and a piece of a patch :
 [2005-09-27 17:11 UTC]
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
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Feb 22 15:01:29 2024 UTC