Browse Source

- don't rely/use VCWD_REALPATH, use expand_filepath instead

NB: that'd to be true for all this VCWD mess
PECL_OPENSSL
Pierre Joye 20 years ago
parent
commit
46ce362ff3
  1. 2
      ext/zip/php_zip.c

2
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;
}

Loading…
Cancel
Save