linuxmint / nemo-extensions

A set of extensions for Nemo
416 stars 150 forks source link

ZIP file issue - Backslash as path separator #442

Closed sblendorio closed 2 years ago

sblendorio commented 2 years ago
 * Nemo version (nemo --version): nemo 5.2.4
 * Is issue with desktop or windowed nemo? Windowed nemo (windows of directories)
 * Distribution - Mint 20.3 Cinnamon
 * Graphics hardware *and* driver used: Advanced Micro Devices, Inc. [AMD/ATI] Device 164c, Open Source driver
 *64 bit

Issue If paths are divided through "backslash" instead of "slash", the path is not correctly recognized.

Steps to reproduce Download this file https://www.dropbox.com/s/4mi8r8kebajfll8/PdfToolboxSDK_Java-3.4.0.zip?dl=0 Unzip with Nemo

There is a backslash instead of slash in the paths, and the folders are not created, but files with backslash in name are created as "root" directory image

If you unzip the file through "unzip" command line utility, it works as expected.

Expected behaviour

Files should be unzipped with correct folder names

Other information

Jeremy7701 commented 2 years ago

I tried it. unzip gives a warning "warning: PdfToolboxSDK_Java-3.4.0.zip appears to use backslashes as path separators"

I'd suggest that expecting unzip to guess pathnames is highly risky. There isn't even a zip parameter to specify this action.

leigh123linux commented 2 years ago

File the issue against the provider of the zip file.