<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>236863</bug_id>
          
          <creation_ts>2010-05-08 15:44:59 +0000</creation_ts>
          <short_desc>ark fails to unzip selected files if filename has an opening square bracket</short_desc>
          <delta_ts>2010-05-08 18:41:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>ark</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>208091</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Hagai Kariti">hkariti</reporter>
          <assigned_to name="Harald Hvaal">metellius</assigned_to>
          <cc>rakuco</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>958787</commentid>
    <comment_count>0</comment_count>
    <who name="Hagai Kariti">hkariti</who>
    <bug_when>2010-05-08 15:44:59 +0000</bug_when>
    <thetext>Version:           2.14 (using 4.4.2 (KDE 4.4.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.32-22-generic

When trying to unzip a file that has a square bracket (like test[].txt) via drag and drop or by choosing &quot;selected files only&quot; in the extract window, ark will silently ignore that file. However, if I select &quot;all files&quot; in the extract window, everything works.

to reproduce:
touch &apos;hello[.txt&apos; hello.txt
zip hello.zip &apos;hello[.txt&apos; hello.txt

Now, open hello.zip with ark
try to drag and drop hello[.txt to some dir in dolphin, silently fails.
try to drag and drop both files to dolphin, hello.txt is extracted, the other is not.
select hello[.txt, go to the extract window, choose &quot;selected files only&quot;, silently files.
select both files, go to the extract window, choose &quot;selected files only&quot;, silently files (even hello.txt!).
go to the extract window, choose &quot;all files&quot;, both files are extracted.

I tried it with a tar.gz file and a zip file with special characters other than an opening bracket and it didn&apos;t happen.

Thanks in advance :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>958863</commentid>
    <comment_count>1</comment_count>
    <who name="Raphael Kubo da Costa">rakuco</who>
    <bug_when>2010-05-08 18:41:51 +0000</bug_when>
    <thetext>This is actually a bug in infozip, however infozip&apos;s developers are not that friendly to anyone and don&apos;t seem to care very much. A workaround will probably be needed on our side.

*** This bug has been marked as a duplicate of bug 208091 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>