Bug #46888 [Ver->Csd]: copy() : safe_mode / allow_url_fopen does not allow opening urls
| From: | cmb@php.net | Date: | Thu, 27 Aug 2015 14:26:54 +0000 |
| Subject: | Bug #46888 [Ver->Csd]: copy() : safe_mode / allow_url_fopen does not allow opening urls | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-195554@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=46888&edit=1
ID: 46888
Updated by: cmb@php.net
Reported by: php at degoulet dot net
Summary: copy() : safe_mode / allow_url_fopen does not allow
opening urls
-Status: Verified
+Status: Closed
Type: Bug
Package: Safe Mode/open_basedir
Operating System: *
PHP Version: 5.2.9
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
As of PHP 5.4.0 the safe mode "feature" has been removed, so this
ticket can be closed.
Previous Comments:
------------------------------------------------------------------------
[2012-05-25 12:31:31] maurice dot sienema at isp dot solcon dot nl
I can reproduce this issue on PHP 5.3.13
------------------------------------------------------------------------
[2011-11-09 14:58:15] czigor at freemail dot hu
Same here on php 5.2.17, Linux blue 2.6.37-fw2.
------------------------------------------------------------------------
[2011-05-20 02:32:41] macmiranda at gmail dot com
same on centos 5.5 php 5.2.17
------------------------------------------------------------------------
[2009-09-01 16:21:41] sjoerd@php.net
Could reproduce. With safe mode, files which are handled by stream wrappers are checked against the
filesystem. This is wrong.
------------------------------------------------------------------------
[2009-05-15 14:04:27] christian at elmerot dot se
You apply the patch using the command patch when you build PHP from the sourcecode. If you've
never done this before I cannot recommend that you do this for something like PHP.
If you still go ahead, download the PHP sourcecode, extract it and read the files (README and
INSTALL). Check documentation for using the patch command (man patch). in general you save the patch
to a file (lets call it safemode.patch) then you simply run "patch main/safe_mode.c <
safemode.patch" in the folder where you unpacked the source
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=46888
--
Edit this bug report at https://bugs.php.net/bug.php?id=46888&edit=1