content-type check should only be perfomed on "request" field of 
multipart/form-data
------------------------------------------------------------------------------------

                 Key: SHINDIG-1009
                 URL: https://issues.apache.org/jira/browse/SHINDIG-1009
             Project: Shindig
          Issue Type: Bug
          Components: Java
    Affects Versions: trunk
            Reporter: Sachin Shenoy
            Priority: Minor
             Fix For: trunk


The content-type check should only be performed on the json rpc request and any 
other field should be excepted.

While using oauth with multipart/form-data, the multipart mime field would 
contain two form-data fields, one with the request and other with oauth 
signature. The oauth-signature would be of type "application/octect-stream". 
Running a content type check on this field throws up an exception.

Also, we need tests for all these cases.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to