summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2023-09-27 00:19:24 +0300
committerVille Skyttä <ville.skytta@iki.fi>2023-09-27 00:19:24 +0300
commit1ebf44ee27f5b73988efeff233f8279035729e37 (patch)
treead2ca45f43f03d2a53125675c0a2ff19cc3e967a
parent00955b27ab593cb96f4171eee58300fd5cda627d (diff)
application/vnd.dart: use IANA registered type
https://www.iana.org/assignments/media-types/application/vnd.dart
-rw-r--r--data/freedesktop.org.xml.in3
-rw-r--r--tests/mime-detection/list2
2 files changed, 3 insertions, 2 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index 077551d..0b659e6 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -6799,10 +6799,11 @@ command to generate the output files.
<glob pattern="*.diff"/>
<glob pattern="*.patch"/>
</mime-type>
- <mime-type type="text/x-dart">
+ <mime-type type="application/vnd.dart">
<comment>Dart source code</comment>
<sub-class-of type="text/plain"/>
<glob pattern="*.dart"/>
+ <alias type="text/x-dart"/>
</mime-type>
<mime-type type="text/x-nim">
<comment>Nim source code</comment>
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index f1e860a..aa0738b 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -918,7 +918,7 @@ test.pys application/x-pyspread-bz-spreadsheet oxo
test.pysu application/x-pyspread-spreadsheet
# Dart source code
-test.dart text/x-dart oxo
+test.dart application/vnd.dart oxo
# Godot files
project.godot application/x-godot-project ox