]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1571129 - Allow attaching font/* content types
authorKohei Yoshino <kohei.yoshino@gmail.com>
Mon, 5 Aug 2019 17:55:12 +0000 (13:55 -0400)
committerGitHub <noreply@github.com>
Mon, 5 Aug 2019 17:55:12 +0000 (13:55 -0400)
Bugzilla/Constants.pm

index a70a46c3006c4e6e4ae562bf14cb4ebe36b87b52..0d16cef2c1f214279ea277d4aa21f788764a27ae 100644 (file)
@@ -482,8 +482,8 @@ use constant SAFE_PROTOCOLS => (
 
 # Valid MIME types for attachments.
 use constant LEGAL_CONTENT_TYPES => (
-  'application', 'audio',     'image', 'message',
-  'model',       'multipart', 'text',  'video'
+  'application', 'audio',     'font', 'image', 'message',
+  'model',       'multipart', 'text', 'video'
 );
 
 use constant contenttypes => {