Skip to content

Commit

Permalink
mime-types: drop rar support
Browse files Browse the repository at this point in the history
Unfortunately rar is not well supported by libarchive, so for now let's
drop its support so we don't expect users of autoar to extract files
that are corrupted.

The upstream documentation of what rar parts are supported or not are
not clear, so far I found:
libarchive/libarchive#373
vitasdk/packages#4 (comment)
https://github.com/libarchive/libarchive/wiki/LibarchiveFormats it says
read only for rar, but that is should work for any rar. However seems
rar5 is not supported.

This patch drops support for rar, and in case of some clients like
Nautilus will use file-roller for rar until libarchive fixes.

https://bugzilla.gnome.org/show_bug.cgi?id=779437
  • Loading branch information
csoriano1618 committed Mar 1, 2017
1 parent d7e45a2 commit 66cf03f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gnome-autoar/autoar-mime-types.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ static gchar *supported_mime_types[] = {
"application/x-lha",
"application/x-lzip",
"application/x-lzma",
"application/vnd.rar",
"application/x-tar",
"application/x-xar",
"application/x-xz",
Expand Down

0 comments on commit 66cf03f

Please sign in to comment.