znuny / Znuny4OTRS-DownloadAllAttachments

This package contains the functionality to download all ticket or article attachments as a single zip file.
https://www.znuny.com/add-ons/download-all-attachments
4 stars 5 forks source link

can't unzip Chinese filename in zip archive #1

Closed NeverMin closed 10 years ago

NeverMin commented 10 years ago

@thorsteneckel can't unzip Chinese file name in zip archive, english file name is fine. thanks.

i am try in Ubuntu 12.04(libarchive-zip-perl-1.30) and Win7 64bit, this is unzip log:

$ unzip Attachments\ Ticket\ 2013120464000102.zip Archive: Attachments Ticket 2013120464000102.zip warning [Attachments Ticket 2013120464000102.zip]: 96 extra bytes at beginning or within zipfile (attempting to process anyway) error [Attachments Ticket 2013120464000102.zip]: start of central directory not found; zipfile corrupt. (please check that you have transferred or created the zipfile in the appropriate BINARY mode and that you have compiled UnZip properly)

hanneshal commented 10 years ago

Hey @NeverMin thanks for the report. Could please send us a Demo Ticket to vz272@demo.znuny.com We try to fix this and add this Ticket to our Unit-tests

regards

Johannes

NeverMin commented 10 years ago

Hey @thorsteneckel

I just sent, pls check, thanks~

thorsteneckel commented 10 years ago

Hi @NeverMin - thanks! I will take a look at it as soon as I can. I will let you know.

thorsteneckel commented 10 years ago

Hi @NeverMin - I fixed the issue and created the package release 1.0.1. To implement some unit tests (shame on me) I have to do some refactoring, so I wanted to share this fix first. The unit tests will follow the next days. Thanks for the report!