php_zip
php_zip copied to clipboard
Zip stream wrapper needs a way to escape '#' character in file names
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.