From: Sara Golemon Date: Fri, 14 Apr 2006 17:44:56 +0000 (+0000) Subject: MFB (r-1.409.2.6) copy() should not disrespect open_basedir on source file X-Git-Tag: RELEASE_1_3~61 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1e9a9d596bdd7fef23b26002f5f1e18bf2ae27a3;p=php MFB (r-1.409.2.6) copy() should not disrespect open_basedir on source file --- diff --git a/ext/standard/file.c b/ext/standard/file.c index 237075ba27..6b93cd8998 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -1786,7 +1786,7 @@ no_stat: } safe_to_copy: - srcstream = php_stream_open_wrapper(src, "rb", STREAM_DISABLE_OPEN_BASEDIR | REPORT_ERRORS, NULL); + srcstream = php_stream_open_wrapper(src, "rb", REPORT_ERRORS, NULL); if (!srcstream) { return ret;