#24313 [NEW]: file_exists() on non-existent file incorrectly warns of open_basedir
| From: | giannici at neomedia dot it | Date: | Tue, 24 Jun 2003 10:18:59 +0000 |
| Subject: | #24313 [NEW]: file_exists() on non-existent file incorrectly warns of open_basedir | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-42427@lists.php.net to get a copy of this message | ||
From: giannici at neomedia dot it
Operating system: OpenBSD
PHP version: 4.3.2
PHP Bug Type: *Directory/Filesystem functions
Bug description: file_exists() on non-existent file incorrectly warns of open_basedir
Description:
------------
If open_basedir is in effect and file_exists() is called for a
non-existent file, than the usual open_basedir warning is printed even if
file is in an allowed paths!
Look at "Actual result" for an example error.
This could be related to bug #23190, but it results to be fixed for
4.3.2...
Actual result:
--------------
file_exists(): open_basedir restriction in effect.
File(/wwwdocs/user/flaccovi/aggtecnolex/200201/) is not within the allowed
path(s):
(/wwwdocs/user/siti/:/usr/local/lib/php/:/tmp/:/usr/local/php/safebin/:/wwwdocs/user/siti/phplib/:/wwwdocs/user/flaccovi/)
--
Edit bug report at http://bugs.php.net/?id=24313&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24313&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24313&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24313&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24313&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24313&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24313&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24313&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24313&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24313&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24313&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24313&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24313&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24313&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24313&r=gnused