php_zip icon indicating copy to clipboard operation
php_zip copied to clipboard

Zip stream wrapper needs a way to escape '#' character in file names

Open qu1ck opened this issue 9 years ago • 0 comments

Currently there is no way to use zip stream wrapper to work with archives that have # character in their name or path. Easy solution would be to look for # character as delimiter from the right of the string. (Use strrchr here https://github.com/pierrejoye/php_zip/blob/master/php5/zip_stream.c#L287) More robust solution would be to urldecode the path before trying to access it.

qu1ck avatar Sep 05 '16 23:09 qu1ck