[
https://issues.apache.org/jira/browse/TIKA-4244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17840893#comment-17840893
]
Hudson commented on TIKA-4244:
------------------------------
SUCCESS: Integrated in Jenkins build Tika ยป tika-main-jdk11 #1612 (See
[https://ci-builds.apache.org/job/Tika/job/tika-main-jdk11/1612/])
TIKA-4244 -- improve ics detection (#1731) (github:
[https://github.com/apache/tika/commit/f78dc999be9c0d87a83b54aa6af74fbcf996f22e])
* (add)
tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testICalendar_w_prodId.ics
* (edit) tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
* (edit)
tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/java/org/apache/tika/mime/TestMimeTypes.java
> Tika idenifies MIME type of ics files with html content as text/html
> --------------------------------------------------------------------
>
> Key: TIKA-4244
> URL: https://issues.apache.org/jira/browse/TIKA-4244
> Project: Tika
> Issue Type: Bug
> Reporter: Kartik Jain
> Priority: Major
> Fix For: 3.0.0, 2.9.3
>
> Attachments: Sample.ics
>
>
> When tika-core detect(InputStream input, Metadata metadata) API is used to
> determimne the MIME type of an ics file, it returns media type `text/html`,
> rather it should've `text/calendar`.
> For .ics files that have HTML content in them (additional attribute
> X-ALT-DESC;FMTTYPE=text/html). *tika-core* is returning the MIME type of such
> files as text/html, ideally, it should come up as text/calendar, but
> according to tika core text/html is not in the base types of text/calendar so
> it doesn't consider the text/calendar type, however for all ics files MIME
> type should be text/calendar
--
This message was sent by Atlassian Jira
(v8.20.10#820010)