php.net |  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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-28 08:48 UTC] sander@php.net
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] steffann@php.net
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] steffann@php.net
Docs have been updated by Andrew Lindeman

 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Jan 18 15:01:23 2020 UTC