You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Nick Burch (JIRA)" <ji...@apache.org> on 2017/08/23 22:42:00 UTC

[jira] [Resolved] (TIKA-2445) Windows BAT / CMD detection

     [ https://issues.apache.org/jira/browse/TIKA-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Burch resolved TIKA-2445.
------------------------------
       Resolution: Fixed
    Fix Version/s: 1.17

Both are now detected as {{application/x-bat}} , which seems to be the closest thing to an "official" common mimetype for these

> Windows BAT / CMD detection
> ---------------------------
>
>                 Key: TIKA-2445
>                 URL: https://issues.apache.org/jira/browse/TIKA-2445
>             Project: Tika
>          Issue Type: Bug
>          Components: mime
>    Affects Versions: 1.16
>            Reporter: Nick Burch
>             Fix For: 1.17
>
>
> As reported on the mailing list - http://mail-archives.apache.org/mod_mbox/tika-user/201708.mbox/%3Cpony-9e932a35faed48a79f1e59e683b146c163eeef9a-854a10648fc2ca400c2ddb83e46514cfe44f163b%40user.tika.apache.org%3E - detection of Windows Batch files (.cmd and .bat) isn't working properly. These need pulling out to a common type, and some vague magic adding
> See also https://stackoverflow.com/questions/148968/windows-batch-files-bat-vs-cmd for the very minimal differences between .BAT and .CMD



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)