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

Hudson commented on TIKA-3153:
------------------------------

UNSTABLE: Integrated in Jenkins build tika-main-jdk14 #9 (See 
[https://builds.apache.org/job/tika-main-jdk14/9/])
TIKA-3153 -- add MinShouldMatchClause to allow more flexibility in (tallison: 
[https://github.com/apache/tika/commit/4e057270f075a36e535f55f1542972d6fa566dbf])
* (add) tika-core/src/main/java/org/apache/tika/mime/MinShouldMatchClause.java
* (edit) 
tika-parsers/src/test/java/org/apache/tika/parser/mail/RFC822ParserTest.java
* (add) 
tika-core/src/test/resources/org/apache/tika/mime/custom-mimetypes-badMinShouldMatch3.xml
* (add) 
tika-core/src/test/resources/org/apache/tika/mime/custom-mimetypes-badMinShouldMatch4.xml
* (add) 
tika-core/src/test/resources/org/apache/tika/mime/custom-mimetypes-badMinShouldMatch2.xml
* (add) 
tika-core/src/test/resources/org/apache/tika/mime/custom-mimetypes-badMinShouldMatch1.xml
* (edit) tika-core/src/main/java/org/apache/tika/mime/MimeTypesReader.java
* (edit) tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
* (add) 
tika-core/src/test/resources/org/apache/tika/mime/custom-mimetypes-minShouldMatch.xml
* (edit) tika-core/src/test/java/org/apache/tika/mime/MimeTypesReaderTest.java
* (edit) 
tika-core/src/main/java/org/apache/tika/mime/MimeTypesReaderMetKeys.java


> 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