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

Nick Burch commented on TIKA-3153:
----------------------------------

We talked about using a regex for simplifying the matching of non-standard + 
later standard header 
<http://mail-archives.apache.org/mod_mbox/tika-dev/202006.mbox/%3Calpine.DEB.2.20.2006070209170.5716%40urchin.earth.li%3E>,
 but I haven't had the cycles to follow through with Tim's suggestion 
<http://mail-archives.apache.org/mod_mbox/tika-dev/202006.mbox/%3cCAC1dCwW+su9bvTer29U=yidyeqzvnspywzb_gynh3_w_fam...@mail.gmail.com%3e>

If someone does feel keen, they could maybe tackle this along with my older one 
at the same time... :)

> Text File identified as message/rfc822
> --------------------------------------
>
>                 Key: TIKA-3153
>                 URL: https://issues.apache.org/jira/browse/TIKA-3153
>             Project: Tika
>          Issue Type: Bug
>          Components: detector
>    Affects Versions: 1.24.1
>            Reporter: Akash
>            Priority: Major
>         Attachments: TextFileIdentifiedAsMessage.txt
>
>
> Text file containing the word Received: is identified as message/rfc22.
> We were earlier using version 1.9 and it used to identify file type properly 
> as text/plain.
> Even if multiple lines are there, if one line with Received: is present, 
> content type is incorrectly identified.
> To check we can run java -jar tika-app-1.24.1.jar 
> TextFileIdentifiedAsMessage.txt



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to