From: evert at rooftopsolutions dot nl Operating system: Any PHP version: 5.2.9RC1 PHP Bug Type: Streams related Bug description: data: stream restricted by
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 bug report at http://bugs.php.net/?id=47336&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47336&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47336&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47336&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47336&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47336&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47336&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47336&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47336&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47336&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47336&r=support Expected behavior: http://bugs.php.net/fix.php?id=47336&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47336&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47336&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47336&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47336&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47336&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47336&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47336&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47336&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47336&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47336&r=mysqlcfg