From: Pierre Joye Date: Sat, 26 Aug 2006 12:23:43 +0000 (+0000) Subject: - don't rely/use VCWD_REALPATH, use expand_filepath instead X-Git-Tag: php-5.2.0RC3~55 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=46ce362ff33c6aea705124cc5e909a0eb657fe97;p=php - 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 f33998a963..1151b431e6 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -905,7 +905,7 @@ ZIPARCHIVE_METHOD(open) RETURN_FALSE; } - if (!VCWD_REALPATH(filename, resolved_path)) { + if (!expand_filepath(filename, resolved_path TSRMLS_CC)) { RETURN_FALSE; }