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 355307 - If uncompressed name not specified in compressed file, cannot view, bad extracted filename
If uncompressed name not specified in compressed file, cannot view, bad extra...
Status: RESOLVED FIXED
Product: file-roller
Classification: Applications
Component: general
2.16.x
Other All
: Normal normal
: ---
Assigned To: Paolo Bacchilega
file-roller-maint
Depends on:
Blocks:
 
 
Reported: 2006-09-10 16:18 UTC by Tuukka Tolvanen
Modified: 2006-10-22 00:57 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Tuukka Tolvanen 2006-09-10 16:18:42 UTC
Please describe the problem:
If a compressed file is created with | gzip > the extracted filename has backslashes that don't belong in it. For example, trying to view a compressed plaintext file named foo(4).log.gz from file-roller using gedit causes gedit to open /tmp/*/file(4).gz which appears blank since the actual filename extracted to is /tmp/*/file\(4\).gz

Steps to reproduce:
$ echo omgponies | gzip > 'x$x\x'\''x`x\x"x\x!x?x*x x(x)x[x]x&x|x:x;x<x>x.gz'
$ file-roller 'x$x\x'\''x`x\x"x\x!x?x*x x(x)x[x]x&x|x:x;x<x>x.gz'

    Archive -> Extract... [Extract]
    Archive -> Quit

$ ls

Actual results:
x\$x\\x\'x\`x\\x\"x\\x\!x\?x\*x\ x\(x\)x\[x\]x\&x\|x\:x\;x\<x\>x
x$x\x'x`x\x"x\x!x?x*x x(x)x[x]x&x|x:x;x<x>x.gz

Expected results:
x$x\x'x`x\x"x\x!x?x*x x(x)x[x]x&x|x:x;x<x>x
x$x\x'x`x\x"x\x!x?x*x x(x)x[x]x&x|x:x;x<x>x.gz

Does this happen every time?
#t

Other information:
Comment 1 Tuukka Tolvanen 2006-09-10 16:27:37 UTC
> plaintext file named foo(4).log.gz from file-roller using gedit causes gedit to
> open /tmp/*/file(4).gz which appears blank since the actual filename extracted
> to is /tmp/*/file\(4\).gz

er, that's foo(4).log.gz and /tmp/*/foo(4).log and /tmp/*/foo\(4\).log respectively of course. I blame backslash blindness ;)
Comment 2 Paolo Bacchilega 2006-10-22 00:57:53 UTC
fixed in current CVS; thanks.