From: Sara Golemon Date: Fri, 14 Apr 2006 17:46:59 +0000 (+0000) Subject: MFH (r-1.436) copy() should not disrespect open_basedir on source file X-Git-Tag: php-4.4.3RC1~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fa431b2bd56b5ac529428a2ab426b4abe82c302b;p=php MFH (r-1.436) copy() should not disrespect open_basedir on source file --- diff --git a/ext/standard/file.c b/ext/standard/file.c index 844e8f0712..c23ff82ed6 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -2201,7 +2201,7 @@ no_stat: safe_to_copy: srcstream = php_stream_open_wrapper(src, "rb", - STREAM_DISABLE_OPEN_BASEDIR | REPORT_ERRORS, + ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL); if (!srcstream)