pollita Fri Apr 14 17:44:56 2006 UTC Modified files: /php-src/ext/standard file.c Log: MFB (r-1.409.2.6) copy() should not disrespect open_basedir on source file http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/file.c?r1=1.435&r2=1.436&diff_format=u Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.435 php-src/ext/standard/file.c:1.436 --- php-src/ext/standard/file.c:1.435 Sat Apr 1 00:05:31 2006 +++ php-src/ext/standard/file.c Fri Apr 14 17:44:56 2006 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.435 2006/04/01 00:05:31 pollita Exp $ */ +/* $Id: file.c,v 1.436 2006/04/14 17:44:56 pollita Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -1786,7 +1786,7 @@ } 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;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php