Skip Menu |

This queue is for tickets about the Apache-Tika-Async CPAN distribution.

Report information
The Basics
Id: 113996
Status: rejected
Priority: 0/
Queue: Apache-Tika-Async

People
Owner: Nobody in particular
Requestors: bhattachar12 [...] avaya.com
Cc:
AdminCc:

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



Subject: Error in detecting file-type using tika-core-1.12.jar
Date: Tue, 26 Apr 2016 11:16:08 +0000
To: "bug-Apache-Tika-Async [...] rt.cpan.org" <bug-Apache-Tika-Async [...] rt.cpan.org>
From: "Bhattacharya, Sumalya (Sumalya)" <bhattachar12 [...] avaya.com>
Hi, I have used apache tika using the following dependency in my maven project : <dependency> <groupId>org.apache.tika</groupId> <artifactId>tika-core</artifactId> <version>1.12</version> </dependency> And detecting mime type using the following code :- InputStream is = new FileInputStream(file); String mimeType = tika.detect(is); Most of the use-cases I have tested is yielding correct results except a few : - Renaming a .jar to a .bin file results in mime type = application/zip - Renaming a .cer (certificate file) to a .xml(or any other extension) yields mime type = application/octet-stream Am I missing something? Or in case it is a bug can we have a new version with issues fixed? If so when? Thanks and Regards, Sumalya Bhattacharya
Subject: Re: [rt.cpan.org #113996] Error in detecting file-type using tika-core-1.12.jar
Date: Tue, 26 Apr 2016 14:11:19 +0200
To: bug-Apache-Tika-Async [...] rt.cpan.org
From: Max Maischein <webmaster [...] corion.net>
Hello, This is the bug queue for the Perl module Apache::Tika::Async. Your bug report seems to be about the Apache Tika Java project. Please raise your problem with the Apacht Tika community. -max Am 26. April 2016 13:16:37 MESZ, schrieb "Bhattacharya, Sumalya via RT" <bug-Apache-Tika-Async@rt.cpan.org>: Show quoted text
>Tue Apr 26 07:16:30 2016: Request 113996 was acted upon. >Transaction: Ticket created by bhattachar12@avaya.com > Queue: Apache-Tika-Async > Subject: Error in detecting file-type using tika-core-1.12.jar > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: bhattachar12@avaya.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=113996 > > > >Hi, >I have used apache tika using the following dependency in my maven >project : ><dependency> > <groupId>org.apache.tika</groupId> > <artifactId>tika-core</artifactId> > <version>1.12</version> ></dependency> > >And detecting mime type using the following code :- >InputStream is = new FileInputStream(file); >String mimeType = tika.detect(is); > >Most of the use-cases I have tested is yielding correct results except >a few : > >- Renaming a .jar to a .bin file results in mime type = >application/zip > >- Renaming a .cer (certificate file) to a .xml(or any other >extension) yields mime type = application/octet-stream > >Am I missing something? Or in case it is a bug can we have a new >version with issues fixed? If so when? > >Thanks and Regards, >Sumalya Bhattacharya
-- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.