-
Notifications
You must be signed in to change notification settings - Fork 0
Description
We added a regression when validating the input content type.
For example, if we pass "text/plain; charset=UTF-8" as input, it breaks badly with the following exception.
gate.util.GateException: Unsupported MIME type text/plain; charset=UTF-8 valid options are [application/fastinfoset, application/json, application/msword, application/pdf, application/rtf, application/tika, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/vnd.oasis.opendocument.presentation, application/vnd.oasis.opendocument.spreadsheet, application/vnd.oasis.opendocument.text, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/xhtml+xml, application/xml, text/email, text/html, text/plain, text/sgml, text/x-cochrane, text/x-conll, text/x-json-datasift, text/x-json-twitter, text/x-mediawiki, text/x-pubmed, text/xmi+xml, text/xml]