After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 708854 - Allow opening files within ZIP archive when the filename starts with '@'
Allow opening files within ZIP archive when the filename starts with '@'
Status: RESOLVED FIXED
Product: file-roller
Classification: Applications
Component: general
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: Paolo Bacchilega
file-roller-maint
Depends on:
Blocks:
 
 
Reported: 2013-09-26 16:42 UTC by Aleksander Morgado
Modified: 2013-09-27 17:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch. (3.58 KB, patch)
2013-09-26 16:43 UTC, Aleksander Morgado
none Details | Review

Description Aleksander Morgado 2013-09-26 16:42:46 UTC
File-roller is unable to open files within a ZIP archive if the file within has a filename starting with "@". E.g.

$> echo hello > @text.txt
$> zip text.zip @text.txt
$> file-roller text.zip

Then double-clicking on the @text.txt file to open it will cause a "unable to open file" error or the like.

This is because 7zip uses '@' to specify a 'filelist' (used e.g. when more than 10 files selected to open/extract; ref to propListFromFile); so the command cannot pass the filename as it is used to do.

Patch following.
Comment 1 Aleksander Morgado 2013-09-26 16:43:33 UTC
Created attachment 255854 [details] [review]
Patch.
Comment 2 Paolo Bacchilega 2013-09-27 17:14:13 UTC
Pushed to master, thanks.