[ 
https://issues.apache.org/jira/browse/TIKA-2840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16809949#comment-16809949
 ] 

chandra commented on TIKA-2840:
-------------------------------

hi tim,

Looks like simple batch files which are starting upper case @ECHO OFF are not 
being identified, however @echo off at the beginnng of the file is being 
detected by Tika Core API, is it possible to add more commands to the magic 
file to harden the detection of batch files..

thank you

> windows batch file not detected
> -------------------------------
>
>                 Key: TIKA-2840
>                 URL: https://issues.apache.org/jira/browse/TIKA-2840
>             Project: Tika
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.20
>         Environment: tika core not detecting windows batch file when its 
> renamed with .txt, it results in mime type text/plain
>            Reporter: chandra
>            Priority: Major
>         Attachments: test.txt
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to