|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8848 "open_basedir = /dir/incl" validates "/dir/include" and so on
Submitted: 2001-01-22 21:53 UTC Modified: 2005-01-31 22:43 UTC
From: jerry dot zhao at mcmail dot vanderbilt dot edu Assigned:
Status: Closed Package: Safe Mode/open_basedir
PHP Version: 4.0.4pl1 OS: All
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: jerry dot zhao at mcmail dot vanderbilt dot edu
New email:
PHP Version: OS:


 [2001-01-22 21:53 UTC] jerry dot zhao at mcmail dot vanderbilt dot edu
Setting "open_basedir = /dir/incl" allows access to 
"/dir/include" or "/dir/incls" or similar


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-28 08:48 UTC]
What's wrong with that? You just need to use a trailing slash!

Can anyone tell me wether this is expected (but undocumented) behaviour or a bug?
 [2002-02-06 21:12 UTC]
It was meant this way. It should be changed in the docs. open_basedir specifies a prefix, not a directory name.
 [2002-02-07 07:30 UTC]
Docs have been updated by Andrew Lindeman

 [2020-02-07 06:12 UTC]
Automatic comment on behalf of alindeman
Log: Fixed Bug #8848
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Sep 27 08:03:38 2021 UTC