[MAGNOLIA-6372] Set correct content type of rendered content Created: 15/Sep/15  Updated: 20/Jan/16  Resolved: 25/Nov/15

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.12, 5.4.3

Type: Epic Priority: Neutral
Reporter: Roman Kovařík Assignee: Robert Šiška
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
is causing MAGNOLIA-6499 bypassed resources render empty file Closed
supersession
supersedes MAGNOLIA-3452 Content-type of a rendered page shoul... Closed
is superseded by MGNLIMG-173 Remove now-redundant validateFileExte... Closed
Template:
Epic Name: contentTypeCheck
Acceptance criteria:
Empty

 Description   

Right now, the content type of response is set by ContentTypeFilter based just on the extension.

The problem is, that wrong representations can get into search-engines sth. like https://demopublic.magnolia-cms.com/travel.c - which shows plaintext from the html page.

(see SUPPORT-5015)


Generated at Mon Feb 12 04:13:54 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.