[
https://issues.apache.org/jira/browse/TIKA-351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting resolved TIKA-351.
--------------------------------
Resolution: Fixed
Assignee: Jukka Zitting
Agreed, good point. Patch committed in revision 891078.
> MediaType.parse should be more forgiving of broken input
> --------------------------------------------------------
>
> Key: TIKA-351
> URL: https://issues.apache.org/jira/browse/TIKA-351
> Project: Tika
> Issue Type: Improvement
> Reporter: Ken Krugler
> Assignee: Jukka Zitting
> Fix For: 0.6
>
> Attachments: TIKA-351.patch
>
>
> Currently MediaType.parse will throw a null pointer exception if you pass it
> something like "text; charset=utf-8", instead of returning null.
> Also, it should handle the "charset first" form that some broken servers
> return, i.e. "charset=utf-8; text/html"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.