Bug #53484 [NEW]: closing slash does not work
| From: | lampacz at gmail dot com | Date: | Mon, 06 Dec 2010 11:48:12 +0000 |
| Subject: | Bug #53484 [NEW]: closing slash does not work | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-156791@lists.php.net to get a copy of this message | ||
From:
Operating system: Linux Debian testing
PHP version: 5.3.3
Package: Safe Mode/open_basedir
Bug Type: Bug
Bug description:closing slash does not work
Description:
------------
Using
php_admin_value open_basedir /var/www/domain.tld/:/usr/share/php/
Produces in error.log:
PHP Warning: Unknown: open_basedir restriction in effect.
File(/var/www/domain.tld/home/film/xinfo.php) is not within the allowed
path(s): (/var/www/domain.tld/:/usr/share/php) in Unknown on line 0
PHP Warning: Unknown: failed to open stream: Operation not permitted in
Unknown on line 0
PHP Fatal error: Unknown: Failed opening required
'/var/www/domain.tld/home/film/xinfo.php'
(include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0
And no output in log
After rewrite
php_admin_value open_basedir /var/www/domain.tld:/usr/share/php # no ending
slash
everything start working
--
Edit bug report at http://bugs.php.net/bug.php?id=53484&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53484&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53484&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53484&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=53484&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53484&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=53484&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=53484&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=53484&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=53484&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=53484&r=support
Expected behavior: http://bugs.php.net/fix.php?id=53484&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=53484&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=53484&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=53484&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53484&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=53484&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=53484&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=53484&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=53484&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=53484&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=53484&r=mysqlcfg