php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #63534 new php.ini flag disable_remote_download
Submitted: 2012-11-15 21:50 UTC Modified: -
Votes:10
Avg. Score:2.4 ± 1.6
Reproduced:2 of 6 (33.3%)
Same Version:1 (50.0%)
Same OS:0 (0.0%)
From: thbley at gmail dot com Assigned:
Status: Open Package: *Configuration Issues
PHP Version: 5.5.0alpha1 OS: any
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: thbley at gmail dot com
New email:
PHP Version: OS:

 

 [2012-11-15 21:50 UTC] thbley at gmail dot com
Description:
------------
Disable downloading content only from remote computers:

disable_remote_download = On|Off
(default: On?)

disable_remote_download = On forbids fopen("http://www.php.net/", "r"); or fopen("http://69.147.83.199/", "r"); or the IPv6 equivalent

disable_remote_download = On allows fopen("http://localhost/", "r"); or fopen("http://127.0.0.1/", "r"); or the IPv6 equivalent

affects: url-fopen-wrappers, (p)fsockopen, socket_bind, curl extension, imap extension, others?


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Mar 26 00:01:27 2019 UTC