mirror of
https://github.com/php/php-src.git
synced 2024-12-14 04:16:30 +08:00
- PECL Bug #8676, addFile was not updated and still used VCWD_REALPATH,
it now uses expand_filepath
This commit is contained in:
parent
7800711d34
commit
bb2d53e768
@ -996,7 +996,7 @@ ZIPARCHIVE_METHOD(addFile)
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
if (!VCWD_REALPATH(filename, resolved_path)) {
|
||||
if (!expand_filepath(filename, resolved_path TSRMLS_CC)) {
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user