Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6452

Add contentType field to renderers

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.3.13, 5.4.5
    • 5.3.12, 5.4.3
    • rendering

    Description

      FreemarkerRenderer used to use the mimeType derived from the requested extension. Now it uses text/html every time.

      This was added:

      response.setContentType(MIMEMapping.getMIMETypeOrDefault(MIMEMapping.DEFAULT_EXTENSION));
      

      FreemarkerRender and JspRenderer should be able to set ContentType.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rkovarik Roman Kovařík
                bvass Bence Vass
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 2h 20m
                      2h 20m