Version: Recent SVN (using KDE Devel) Installed from: Compiled sources Compiler: GCC 3.4.4 (ssp + pie) OS: Linux If you have a file called something like test[.txt in an archive it can't be unpacked.
Created attachment 12070 [details] Shellquote patch for ark This patch fixes the problem when unpacking files. You can do this similarly in tar.cpp, but the most recent version of tar (to date) doesn't handle them at all.
Thanks for the patch; I tried to test it, but at least for my version of unzip ("UnZip 5.51 of 22 May 2004, by Info-ZIP") it didn't change anything. In fact, it didn't even work from the commandline: ~> unzip -l test.zip Archive: test.zip Length Date Time Name -------- ---- ---- ---- 95292 08-04-05 22:42 atr[.txt -------- ------- 95292 1 file ~> unzip test.zip 'atr[.txt' Archive: test.zip caution: filename not matched: atr[.txt so it seems it's not an Ark bug. And since the KProcesses used by Ark shouldn't use a shell at all, I don't see why the patch should make a difference - other than breaking the extraction of single files in general by adding quotes where there are none in the original filename... Could you elaborate a bit more what and how you tested?
Ah, i think i know why.. I have another version of KRun::shellQuote() then the one one SVN. I fixed bug 109693 but it's not merged into SVN. Try: $ unzip test.zip atr\[.txt /Alex
*** Bug 129663 has been marked as a duplicate of this bug. ***
This bug is still not completely fixed. There's still impossible to extract files with square brackets by drag'n'drop or preview them. The only way is to unpack whole archive.
i second this, it still doesn't work. if this isn't a genuine ark bug, did someone report it to whoever is responsible for fixing this in the respective commandline tools ark uses?
*** Bug 146233 has been marked as a duplicate of this bug. ***
*** Bug 147571 has been marked as a duplicate of this bug. ***
It seems to work fine with current (KDE4) versions of Ark, both for file types which rely on external programs to extract (rar, for example) and for types which use libraries (zip). Marking as WORKSFORME.
*** Bug 147922 has been marked as a duplicate of this bug. ***