|  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:
 [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-2015 The PHP Group
All rights reserved.
Last updated: Wed Nov 25 02:01:33 2015 UTC