tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Krugler (JIRA)" <j...@apache.org>
Subject [jira] Created: (TIKA-351) MediaType.parse should be more forgiving of broken input
Date Tue, 15 Dec 2009 22:43:18 GMT
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
             Fix For: 0.6


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.


Mime
View raw message