Uploaded image for project: 'Magnolia Resources Module'
  1. Magnolia Resources Module
  2. MGNLRES-270

ResourcesServlet should not set null content type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Neutral Neutral
    • None
    • None
    • None
    • None

      info.magnolia.module.resources.ResourcesServlet#serveResource does: info.magnolia.cms.beans.config.MIMEMapping#getMIMEType but should rather do info.magnolia.cms.beans.config.MIMEMapping#getMIMETypeOrDefault to prevent setting of null content type. This causes problems for SiteMesh but possibly also for other response implementations.

        Acceptance criteria

              Unassigned Unassigned
              rkovarik Roman Kovařík
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD