about summary refs log tree commit homepage
path: root/lib/PublicInbox/Filter.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-04-25 09:50:01 +0000
committerEric Wong <e@80x24.org>2016-04-25 09:50:32 +0000
commitfe3d2447badd595df784541556311137b920b0a2 (patch)
tree6e37ab61406654680fd6757593cf810370055ecb /lib/PublicInbox/Filter.pm
parent51c59323fffbfbb6ebc60f58da905e88ac323da5 (diff)
downloadpublic-inbox-fe3d2447badd595df784541556311137b920b0a2.tar.gz
By converting to using ourt git-fast-import-based Import
module.  This should allow us to be more easily installed.
Diffstat (limited to 'lib/PublicInbox/Filter.pm')
-rw-r--r--lib/PublicInbox/Filter.pm7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/PublicInbox/Filter.pm b/lib/PublicInbox/Filter.pm
index 10173ad1..8b78a441 100644
--- a/lib/PublicInbox/Filter.pm
+++ b/lib/PublicInbox/Filter.pm
@@ -28,13 +28,6 @@ sub run {
 
         my $content_type = $mime->header('Content-Type') || 'text/plain';
 
-        # kill potentially bad/confusing headers
-        # Note: ssoma already does this, but since we mangle the message,
-        # we should do this before it gets to ssoma.
-        foreach my $d (qw(status lines content-length)) {
-                $mime->header_set($d);
-        }
-
         if ($content_type =~ m!\btext/plain\b!i) {
                 return 1; # yay, nothing to do
         } elsif ($content_type =~ $MIME_HTML) {