[ https://issues.apache.org/jira/browse/TIKA-4119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17759921#comment-17759921 ]
Nick Burch commented on TIKA-4119: ---------------------------------- I wonder if this is a big enough change around Detection that we ought to wait for 3.x to make it. Thoughts anyone? (We already define {{text/javascript}} as an alias for the type, so users can already define parsers etc for the text variant, but swapping the canonical and the alias is going to break a lot of detection uses if people don't update) > Return media type "text/javascript" instead of "application/javascript to > follow RFC-9239 > ----------------------------------------------------------------------------------------- > > Key: TIKA-4119 > URL: https://issues.apache.org/jira/browse/TIKA-4119 > Project: Tika > Issue Type: Improvement > Reporter: Matthias Juchmes > Priority: Major > > [RFC-9239|https://www.rfc-editor.org/rfc/rfc9239.html] obsoletes some > javascript media types, including "application/javascript", which is > currently returned by Tika for javascript files. "text/javascript" is defined > as the most widely supported one, so Tika should reflect this. -- This message was sent by Atlassian Jira (v8.20.10#820010)