ID:               47336
 User updated by:  evert at rooftopsolutions dot nl
-Summary:          data: stream restricted by
 Reported By:      evert at rooftopsolutions dot nl
 Status:           Open
 Bug Type:         Streams related
 Operating System: Any
 PHP Version:      5.2.9RC1
 New Comment:

Fixed the title


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

Reply via email to