ZipArchive::addGlob with remove_path option overcuts filepath
| From: | tyage | Date: | Wed, 08 Mar 2017 09:16:59 +0000 |
| Subject: | ZipArchive::addGlob with remove_path option overcuts filepath | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-98422@lists.php.net to get a copy of this message | ||
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