summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-04-09 17:06:37 -0400
committerRay Strode <rstrode@redhat.com>2018-04-10 09:08:36 -0400
commit92af4108750ceaf4191fd54e255885c7d8a78b70 (patch)
tree8930f422aac82dc76591490db2f5bc892683d12b
parent5b88c95c45e91781aed441c446210c6979350c3f (diff)
downloaddesktop-file-utils-92af4108750ceaf4191fd54e255885c7d8a78b70.tar.gz
Add font as valid media type
This was codified in RFC 8081, and some desktop apps are using this now.
-rw-r--r--src/mimeutils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mimeutils.c b/src/mimeutils.c
index 0833fdb..bddc7a0 100644
--- a/src/mimeutils.c
+++ b/src/mimeutils.c
@@ -52,9 +52,9 @@ static const char *known_old_fdo_media_types[] = {
"x-directory"
};
-/* Defined in RFC 2045/2046 and RFC 2077 */
+/* Defined in RFC 2045/2046, RFC 2077 and RFC 8081 */
static const char *registered_discrete_media_types[] = {
- "application", "audio", "image", "model", "text", "video"
+ "application", "audio", "font", "image", "model", "text", "video"
};
/* Defined in RFC 2045/2046 */