Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-84

RenderResponse mime-type wildcard matching is not done

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • unspecified
    • 1.0.1-rc2
    • portlet container
    • 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>

      Attachments

        Activity

          People

            Unassigned Unassigned
            edalquist Eric Dalquist
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: