]> Sergey Matveev's repositories - public-inbox.git/commitdiff
Allow images and HTML
authorSergey Matveev <stargrave@stargrave.org>
Fri, 29 Jul 2022 10:28:50 +0000 (13:28 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 17 Feb 2023 09:33:13 +0000 (12:33 +0300)
It is anyway filtered by mlmmj maillist manager itself.

lib/PublicInbox/Filter/Base.pm

index f6355e1b9daea96ad3b91b3d697aa0ca46d2f692..00189fd962230ccae4097b5bd7831e152a80650b 100644 (file)
@@ -13,9 +13,9 @@ sub No ($) { "*** We only accept plain-text mail, No $_[0] ***" }
 
 our %DEFAULTS = (
        reject_suffix => [ qw(exe bat cmd com pif scr vbs cpl zip swf swfl) ],
-       reject_type => [ 'text/html:'.No('HTML'), 'text/xhtml:'.No('HTML'),
+       reject_type => [
                'application/vnd.*:'.No('vendor-specific formats'),
-               'image/*:'.No('images'), 'video/*:'.No('video'),
+               'video/*:'.No('video'),
                'audio/*:'.No('audio') ],
 );
 our $INVALID_FN = qr/\0/;