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
 [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

 [2020-02-07 06:12 UTC] phpdocbot@php.net
Automatic comment on behalf of alindeman
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=bace7d88c8ecdc35a1d6b9c65175eb1e446b3572
Log: Fixed Bug #8848
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Sep 28 14:01:23 2020 UTC