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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
50 - 29 = ?
Subscribe to this entry?

 
 [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-2021 The PHP Group
All rights reserved.
Last updated: Tue Sep 28 08:03:36 2021 UTC