Welcome! Log In Create A New Profile

Advanced

[PHP-DEV] ZipArchive::addGlob with remove_path option overcuts filepath

Posted by tyage 
Hi internals,

I created a bug report ( https://bugs.php.net/bug.php?id=72374 ) and PR(
https://github.com/php/php-src/pull/1939 ) that will change the behavior of
ZipArchive::addGlob method.

Currently, this method cuts the file path more than the length given by
remove_path option and strips the first char of filename.
This PR aims to make this method not cut too much file path.

I would like to hear your feedbacks and if this change needs an RFC.

Best regards,
tyage
Sorry, only registered users may post in this forum.

Click here to login