File-roller unescapes %xx sequences in file names before calling tar

Bug #666621 reported by greenhunter
4
Affects Status Importance Assigned to Milestone
File Roller
Invalid
Medium
file-roller (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Create a file with a %20 in the name, like "New%20File" ( instead of "New File" ). Right click and choose compress. When file-roller calls tar, it errors out saying it can not stat "New File", since the file name is actually "New%20File".

file-roller should not unescape %xx sequences in file names.

Revision history for this message
Phillip Susi (psusi) wrote :

Exactly what are you clicking on in nautilus to do this? Are you right clicking on a file with a space in the name and choosing compress? Because that works fine for me.

Changed in tar (Ubuntu):
status: New → Incomplete
Revision history for this message
greenhunter (tierfreunde-hagenburg) wrote :

yes, right click in nautilus over file name, compress with tar.gz and error...

just rename any file and add %20 somewhere in the name before.

Revision history for this message
greenhunter (tierfreunde-hagenburg) wrote :

I tested it under a diff. account: same story.

I can take screencast, if it is needed.

Revision history for this message
greenhunter (tierfreunde-hagenburg) wrote :

so, here is the screencast: http://ubuntuone.com/p/Myc/

it doesn't matter if it is only a single file or folder.

Revision history for this message
Phillip Susi (psusi) wrote :

I see, when the file literally has a %20 in the name, file-roller converts it to a space before calling tar, which fails since the file name does not have a space in it.

affects: tar (Ubuntu) → file-roller (Ubuntu)
Changed in file-roller (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
summary: - tar.gz stops with error "unable to execute stat no such file or
- directory" on files like bla%20bla%20bla.jpg
+ File-roller unescapes %xx sequences in file names before calling tar
description: updated
Changed in file-roller:
importance: Unknown → Medium
status: Unknown → New
Changed in file-roller:
status: New → Invalid
Revision history for this message
greenhunter (tierfreunde-hagenburg) wrote :

fixed in natty

Revision history for this message
Phillip Susi (psusi) wrote :

Confirmed fixed.

Changed in file-roller (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.