Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-206

DispatchServletResponse crashes when the mime-type is not known

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.0.0-incubating-core
    • 1.0.0-incubating-core
    • Archetype
    • None
    • Server

    Description

      DispatchServletResponse does not check for contentTypeAndCharset being null in the setContentType. If a mime-type of a particular document is not set on the server, the contentTypeAndCharset can be null. This crashes the server. The fix is to check for null.

      Attachments

        1. trunk.patch
          2 kB
          Venkata Guddanti

        Activity

          People

            Unassigned Unassigned
            venkata.guddanti Venkata Guddanti
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: