From: Ken Hornstein Date: Thu, 31 May 2012 18:56:47 +0000 (-0400) Subject: Convert the content-transfer-encoding to lower-case always. X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=d0aa081697fcdc51fc24fa268f13a8d130366b36;p=mmh Convert the content-transfer-encoding to lower-case always. --- diff --git a/docs/contrib/replyfilter b/docs/contrib/replyfilter index 8e591bd..ed4fe6b 100755 --- a/docs/contrib/replyfilter +++ b/docs/contrib/replyfilter @@ -193,7 +193,7 @@ sub process_text (*$$;$) binmode($input, ':encoding(us-ascii)'); - $decoder = find_decoder($encoding); + $decoder = find_decoder(lc($encoding)); if (! defined $decoder) { return 'EOF'; } @@ -348,7 +348,7 @@ sub process_html (*$$;$) my $filterpid, $prefixpid, $finread, $finwrite; my $foutread, $foutwrite, $decoder, $ret; - if (! defined($decoder = find_decoder($encoding))) { + if (! defined($decoder = find_decoder(lc($encoding)))) { return 'EOF'; }