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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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: Tue Mar 19 10:01:30 2024 UTC