unzip strips trailing semicolon from filename when extracting
Bug #609254 reported by
Andrzej
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unzip |
Unknown
|
Unknown
|
|||
unzip (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: file-roller
If a zip archive contains a file where the filename ends in a semi-colon, then when the file is extracted, the trailing semi-colon is removed from the filename.
If you try to export the one file, named "this is a new file&22;" from the attached text.zip archive, using Archive Manager, it will create a file called "this is a new file&22". That is incorrect....the trailing semi-colon should be part of the extracted files filename!
Zip utilities (like WinZip) leave the trailing semi-colon intact in the extracted filename, so this is unique to file-roller/archive manager.
Changed in unzip (Ubuntu): | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
Thank you for your bug report. I can confirm this bug, however, it is not file-roller's fault: If you do "unzip test.zip" with your file in a terminal, you get the same result (file-roller is using unzip for extracting zip files). I therefore changed the package to unzip.
If you are only using file-roller and not the unzip command directly, there's a simple work-around: Install the p7zip-full package, this will then be used by file-roller and doesn't show this bug.