Re: [svgwg] SVG MIME Type (image/svg+xml) is misleading to developers

On http://www.iana.org/assignments/media-types/media-types.xhtml#text can be seen that text/javascript and text/ecmascript have been marked as obsolete with respect to their replacements application/javascript and application/ecmascript.
So a change is not too unlikely and should be considered for svg in longer term.
Surly it requires involvement in the different forums to realize it and make it working.
The interesting point,  and I don't know if there is already a format like that, is that the proposed solution consists of two different mime-types depending on the content. In some kind it exists for svg already too if you consider compressed svgs, but that's not fully comparable perhaps.
Question is if both proposed types can be misused in the kind that a file is labelled as the one but has content of the other type with the target to extend limited rights respectively possibilities.

-- 
GitHub Notification of comment by DavidBruchmann
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/266#issuecomment-310585147 using your GitHub account

Received on Friday, 23 June 2017 06:40:31 UTC