php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #50715 Add disable_stream_wrapper to php.ini
Submitted: 2010-01-10 16:01 UTC Modified: 2010-11-24 10:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: gmblar+php at gmail dot com Assigned:
Status: Open Package: Streams related
PHP Version: * OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: gmblar+php at gmail dot com
New email:
PHP Version: OS:

 

 [2010-01-10 16:01 UTC] gmblar+php at gmail dot com
Description:
------------
Add disable_stream_wrapper like disable_functions or disable_classes to 
php.ini

Reproduce code:
---------------
<?php

echo file_get_contents('data://text/plain;base64,Zm9vYmFy');

?>

Expected result:
----------------
Warning: Streamwrapper data has been disabled for security reasons in 
disabled.php on line 3


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-11-24 10:00 UTC] jani@php.net
-Package: Feature/Change Request +Package: Streams related -PHP Version: 5.3.1 +PHP Version: *
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC