Skip to content
Snippets Groups Projects
Commit 0fb201ca authored by catch's avatar catch
Browse files

Issue #2796329 by Wim Leers:...

Issue #2796329 by Wim Leers: \Drupal\Core\File\MimeType\ExtensionMimeTypeGuesser maps the 'js' extension to the 'application/x-javascript' MIME type instead of 'application/javascript'
parent fea00575
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -152,7 +152,7 @@ class ExtensionMimeTypeGuesser implements MimeTypeGuesserInterface { ...@@ -152,7 +152,7 @@ class ExtensionMimeTypeGuesser implements MimeTypeGuesserInterface {
129 => 'application/x-iphone', 129 => 'application/x-iphone',
130 => 'application/x-iso9660-image', 130 => 'application/x-iso9660-image',
131 => 'application/x-java-jnlp-file', 131 => 'application/x-java-jnlp-file',
132 => 'application/x-javascript', 132 => 'application/javascript',
133 => 'application/x-jmol', 133 => 'application/x-jmol',
134 => 'application/x-kchart', 134 => 'application/x-kchart',
135 => 'application/x-killustrator', 135 => 'application/x-killustrator',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment