You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "David Johnson (JIRA)" <ji...@apache.org> on 2015/09/24 20:31:04 UTC

[jira] [Created] (USERGRID-1034) Fix content-type sniffing code in ContentTypeFilter

David Johnson created USERGRID-1034:
---------------------------------------

             Summary: Fix content-type sniffing code in ContentTypeFilter
                 Key: USERGRID-1034
                 URL: https://issues.apache.org/jira/browse/USERGRID-1034
             Project: Usergrid
          Issue Type: Improvement
            Reporter: David Johnson
            Priority: Minor


Currently, the sniffer will not recognize JSON data if there is any whitespace at the start of the data. We should make the sniffer more accepting by using trim() on the JSON data before doing the sniff.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)