[ http://issues.apache.org/jira/browse/MYFACES-1114?page=all ]

Peter Mahoney updated MYFACES-1114:
-----------------------------------

    Attachment: extensions.patch

The attached patch adds a content type check into ExtensionsFilter. A 
getContentType() method has been added to ExtensionsResponseWrapper to maintain 
servlet spec 2.3 compatibility.

> ExtensionsFilter calls addResource.parseResponse() on non-HTML responses
> ------------------------------------------------------------------------
>
>          Key: MYFACES-1114
>          URL: http://issues.apache.org/jira/browse/MYFACES-1114
>      Project: MyFaces
>         Type: Bug
>   Components: Tomahawk
>     Versions: Nightly
>     Reporter: Peter Mahoney
>  Attachments: extensions.patch
>
> ExtensionsFilter does not check the content type of the response before 
> calling methods on AddResource to parse and add to the output. This causes 
> the HTML parser to fall over when the response is non-HTML.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to