Details
-
Bug
-
Resolution: Fixed
-
Critical
-
5.3.12, 5.4.3
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
Attachments
Issue Links
- caused by
-
MAGNOLIA-6367 Set correct Content-Type header of rendered content in renderers
-
- Closed
-
- depends upon
-
MAGNOLIA-6478 Don't set Content-Type header in ContentTypeFilter
-
- Closed
-
- is causing
-
MGNLGS-119 ContentType of XML-Sitemap wrong (Regression)
-
- Closed
-
-
MGNLRES-254 Renderer needs to respect content type set at the resource definition
-
- Closed
-
-
MAGNOLIA-8658 Programmatic rendering
-
- Closed
-
- is depended upon by
-
MGNLGS-113 ContentType of XML-Sitemap is text/html
-
- Closed
-