diff options
author | Hans Petter Jansson <hpj@cl.no> | 2016-05-11 22:41:14 +0200 |
---|---|---|
committer | Hans Petter Jansson <hpj@cl.no> | 2016-05-11 22:41:14 +0200 |
commit | ec0949091f7a771c852c0314108f9aa4b2a25575 (patch) | |
tree | 54a7e2aa722d6a782390c281845145176fc40b54 | |
parent | cddcd6612b66cb3963920b5f2734850a217d7020 (diff) | |
download | desktop-file-utils-ec0949091f7a771c852c0314108f9aa4b2a25575.tar.gz |
mimeutils: Allow multipart/related MIME type.
It's implemented as an extension of RFC 822 and is used for MHTML.
https://bugs.freedesktop.org/show_bug.cgi?id=93376
-rw-r--r-- | src/mimeutils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mimeutils.c b/src/mimeutils.c index 44a83e9..0833fdb 100644 --- a/src/mimeutils.c +++ b/src/mimeutils.c @@ -71,6 +71,9 @@ static const char *registered_not_used_media_types[] = { static const char *valid_exceptions_mime_types[] = { /* mail: a mail saved in a file will have this mime type */ "message/rfc822", + /* Implemented as an extension of RFC 822; used for MHTML, in addition to + * application/x-mimearchive */ + "multipart/related", /* some multimedia mime type; it clearly doesn't respect the mime type rules, * but it's widely deployed */ "misc/ultravox" |