From: Pierre Joye Date: Sat, 26 Aug 2006 12:29:59 +0000 (+0000) Subject: - MFB: don't rely/use VCWD_REALPATH, use expand_filepath instead X-Git-Tag: RELEASE_1_0_0RC1~1876 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4e4d1813bca31da6aa41a05c1a1e6a8c46c3159;p=php - MFB: don't rely/use VCWD_REALPATH, use expand_filepath instead NB: that'd to be true for all this VCWD mess --- diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index 964570641c..975b250e01 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -882,7 +882,7 @@ ZIPARCHIVE_METHOD(open) RETURN_FALSE; } - if (!VCWD_REALPATH(filename, resolved_path)) { + if(!expand_filepath(filename, resolved_path TSRMLS_CC)) { RETURN_FALSE; }