Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
unspecified
-
None
-
Tomcat 5.0.28
Description
The setContentType method of RenderResponse calls an internal method isValidContentType(String) to check to see if the mime type being set is valid. This method doesn't do wildcard matching if wildcards are specified in the portlet.xml supports tags. For example the following does not allow the portlet to use any mime-type:
<supports>
<mime-type>/</mime-type>
<portlet-mode>view</portlet-mode>
</supports>