Doc #53687 [NEW]: Use of colon character in open_basedir paths
| From: | luckyluke at softhome dot net | Date: | Fri, 07 Jan 2011 16:51:26 +0000 |
| Subject: | Doc #53687 [NEW]: Use of colon character in open_basedir paths | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-5770@lists.php.net to get a copy of this message | ||
From:
Operating system: linux-2.6 x86_64
PHP version: 5.3.5
Package: Safe Mode/open_basedir
Bug Type: Documentation Problem
Bug description:Use of colon character in open_basedir paths
Description:
------------
Documentation says that on *nix systems open_basedir paths must be
separated by
colon characters, but it does not say if it is possible and how to include
a path
containing an actual colon (which is a perfectly valid path on linux, for
example).
How can I add /foo:bar to open_basedir?
Expected result:
----------------
I should be able to know if and how to escape the separator colon, for
example
with
open_basedir = /www\:80:/somewhere_else
to add the two directories '/www:80' and'/somewhere_else'.
Documentation should tell me I cannot use colons in paths, or tell me how I
can
use them.
(besides, if there isn't any escape possibility it should be added IMHO)
Actual result:
--------------
Adding a path with a colon inside gets interpreted as two different paths.
Official documentation does not help on the matter.
--
Edit bug report at http://bugs.php.net/bug.php?id=53687&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53687&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53687&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53687&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=53687&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53687&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=53687&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=53687&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=53687&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=53687&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=53687&r=support
Expected behavior: http://bugs.php.net/fix.php?id=53687&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=53687&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=53687&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=53687&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53687&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=53687&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=53687&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=53687&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=53687&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=53687&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=53687&r=mysqlcfg