Bug 117243 - zip file ended with .rar opened as empty
Summary: zip file ended with .rar opened as empty
Status: RESOLVED FIXED
Alias: None
Product: ark
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Harald Hvaal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-29 00:14 UTC by Pau Capdevila
Modified: 2009-04-18 09:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pau Capdevila 2005-11-29 00:14:19 UTC
Version:           2.6.0 (using KDE 3.5 (RC1), Debian Package 4:3.5-rc1-1 (testing/unstable))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.14-1-k7

there are older filetype bugs marked as resolved but it still occurs sometimes.

thanx
Comment 1 Pau Capdevila 2005-12-19 17:51:23 UTC
duplicated of bug 115503
Comment 2 Henrique Pinto 2005-12-19 17:57:24 UTC
On 19 Dec 2005 16:51:24 -0000, Pau Capdevila <pau.capdevila@gmail.com> wrote:
> duplicated of bug 115503

Not really, seems pretty different for me.

-- 
    Henrique Pinto
    henrique.pinto@kdemail.net
Comment 3 FiNeX 2008-02-04 14:38:30 UTC
Still valid on revision 770656.
(Actually on that revision rar is not still supported, but you can open a .rar ending file using the *.* filter on the dialog, or by the command line).

Ark should check the file type, not the extension... or not?
Comment 4 Raphael Kubo da Costa 2009-04-17 07:53:46 UTC
SVN commit 955134 by rkcosta:

First try to determine the file mimetype by its content with
KMimeType::findByFileContent, and only resort to findByPath when the
file does not exist.

BUG: 117243

 M  +15 -4     archive.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=955134
Comment 5 Raphael Kubo da Costa 2009-04-18 09:38:38 UTC
SVN commit 955612 by rkcosta:

Backport 955134, 955460, 955461, 955473 and 955609.

Try to determine the file type not only from the file name, but also from its content.

CCBUG: 117243


 M  +23 -11    archive.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=955612