jukka / jtnef

Fork of the Java TNEF package
http://www.freeutils.net/source/jtnef/
GNU General Public License v2.0
11 stars 6 forks source link

Also support mime type application/vnd.ms-tnef #1

Closed janhoy closed 14 years ago

janhoy commented 14 years ago

In src/net/freeutils/tnef/tika/TNEFParser.java, also support application/vnd.ms-tnef which is the official mime type for TNEF

jukka commented 14 years ago

Done in commit 4efd2f3e748f27c3cfbae2d3197c7d7a2f5439ff.

janhoy commented 13 years ago

Since both mime types are in use, shouldn't we return a collection of both, for the parser to kick in for either mimetype? The mimetypes.xml in Tika now lists both mime types, one an alias of the other.

jukka commented 13 years ago

Tika will automatically normalize the media type to the official one before looking up which parser to use, so there's no need to list the alias.

janhoy commented 13 years ago

That makes sense. Thanks.