Skip Menu |

This queue is for tickets about the Archive-Any-Plugin-Rar CPAN distribution.

Report information
The Basics
Id: 124613
Status: new
Priority: 0/
Queue: Archive-Any-Plugin-Rar

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.02
Fixed in: (no value)



Subject: No handler available for type 'application/vnd.rar'
The test suite started to fail recently: ... No handler available for type 'application/vnd.rar' at /opt/perl-5.27.9/lib/site_perl/5.27.9/Archive/Any.pm line 49. # Failed test 'explicit type ok' # at t/explicit-type.t line 17. # Looks like you failed 1 test of 3. t/explicit-type.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/3 subtests ... This is very probably caused by new releases of MIME::Types (>= 2.16). The following patch seems to fix the problem: diff --git a/lib/Archive/Any/Plugin/Rar.pm b/lib/Archive/Any/Plugin/Rar.pm index b9ef8a0..93c38b9 100644 --- a/lib/Archive/Any/Plugin/Rar.pm +++ b/lib/Archive/Any/Plugin/Rar.pm @@ -26,6 +26,7 @@ sub can_handle { return( 'application/x-rar', 'application/x-rar-compressed', + 'application/vnd.rar', ); }