[
https://issues.apache.org/jira/browse/SLING-1059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger resolved SLING-1059.
--------------------------------------
Resolution: Fixed
Fix Version/s: Commons Mime 2.1.6
Thanks for providing the patch. I have applied it slightly modified (using
provided scope instead of optional flag for the Tika dependency) in Rev. 1200281
> Mime Type Detection should use Apache Tika
> ------------------------------------------
>
> Key: SLING-1059
> URL: https://issues.apache.org/jira/browse/SLING-1059
> Project: Sling
> Issue Type: Improvement
> Components: Commons
> Affects Versions: Commons Mime 2.1.4
> Reporter: Lars Trieloff
> Assignee: Felix Meschberger
> Priority: Minor
> Fix For: Commons Mime 2.1.6
>
> Attachments:
> 0001-SLING-1059-Mime-Type-Detection-should-use-Apache-Tik.patch
>
>
> Sling's WebDAV servlet currently has its own Mime Type detection mechanism.
> Given that Tika is a dependency of the soon to be added Jackrabbit 2.0 we can
> re-use Tika's Mime Type detection mechanism for greater accuracy and a better
> maintained list of mimetype-extension-mappings.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira