Bug 190515

Summary: Extracting zip files when directory names start with + does not work properly
Product: [Applications] ark Reporter: Ustun Ozgur <ustunozgur>
Component: generalAssignee: Harald Hvaal <metellius>
Status: RESOLVED DUPLICATE    
Severity: normal CC: rakuco
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Unspecified   
Latest Commit: Version Fixed In:

Description Ustun Ozgur 2009-04-24 15:38:40 UTC
Version:            (using KDE 4.2.2)
Installed from:    Debian testing/unstable Packages

If a zip file has a directory whose name starts with a +, ark extracts the files in the folder in the parent directory.

For example, with the following structure:
file0.m
+layout/
    file1.m
    file2.m

ark will extract them as:
file0.m
+layout/file1.m
+layout/file2.m

So, the file names are converted to: "+layout/file1" while they should have been file1 inside the +layout directory.

Unzip successfully extracts this http://www.mathworks.com/matlabcentral/fileexchange/23862 for example, but ark fails to do.
Comment 1 Raphael Kubo da Costa 2009-04-25 16:14:31 UTC
Closing as a duplicate. The problem doesn't seem to be the '+', but the '\' 
being used as the directory separator instead of '/'. Technically, this is 
actually an invalid zip file. Unzip itself extracts the file but says "warning: 
 uisignalbuilder.zip appears to use backslashes as path separators".

As said in the original bug report, if there are enough zip files like this out 
there, Ark may eventually add support for them.

*** This bug has been marked as a duplicate of bug 176646 ***