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: 2021-08-08 04:22 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: cmb (profile)
Status: No Feedback 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: *
 [2021-07-27 10:30 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-07-27 10:30 UTC] cmb@php.net
Are you looking for allow_url_fopen=0?
 [2021-08-08 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 27 08:01:33 2024 UTC