#47336 [Opn->Bgs]: data: stream restricted by allow_url_fopen
| From: | vrana@php.net | Date: | Fri, 20 Nov 2009 10:07:29 +0000 |
| Subject: | #47336 [Opn->Bgs]: data: stream restricted by allow_url_fopen | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-3257@lists.php.net to get a copy of this message | ||
ID: 47336
Updated by: vrana@php.net
Reported By: evert at rooftopsolutions dot nl
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: *
PHP Version: 5.2.9RC1
New Comment:
Documented at http://www.php.net/manual/en/wrappers.data.php
Previous Comments:
------------------------------------------------------------------------
[2009-02-07 22:33:47] evert at rooftopsolutions dot nl
Description:
------------
Looks like data: streams are restricted by allow_url_fopen, but the
documentation seems to state otherwise..
http://ca2.php.net/manual/en/wrappers.data.php
Reproduce code:
---------------
php -d allow_url_fopen=0 -r "fopen('data://text/plain,hi','r');"
Expected result:
----------------
nothing
Actual result:
--------------
Warning: fopen(): URL file-access is disabled in the server
configuration in Command line code on line 1
Call Stack:
0.0002 47712 1. {main}() Command line code:0
0.0003 47792 2. fopen() Command line code:1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47336&edit=1