You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Nick Lothian (JIRA)" <pl...@jakarta.apache.org> on 2004/11/25 04:54:25 UTC

[jira] Closed: (PLUTO-84) RenderResponse mime-type wildcard matching is not done

     [ http://nagoya.apache.org/jira/browse/PLUTO-84?page=history ]
     
Nick Lothian closed PLUTO-84:
-----------------------------


> RenderResponse mime-type wildcard matching is not done
> ------------------------------------------------------
>
>          Key: PLUTO-84
>          URL: http://nagoya.apache.org/jira/browse/PLUTO-84
>      Project: Pluto
>         Type: Bug
>   Components: portlet container
>     Versions: Current CVS
>  Environment: Tomcat 5.0.28
>     Reporter: Eric Dalquist
>     Assignee: Nick Lothian
>      Fix For: Current CVS

>
> 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>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira