projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f4180c6
)
Convert the content-transfer-encoding to lower-case always.
author
Ken Hornstein
<kenh@pobox.com>
Thu, 31 May 2012 18:56:47 +0000
(14:56 -0400)
committer
Ken Hornstein
<kenh@pobox.com>
Thu, 31 May 2012 18:56:47 +0000
(14:56 -0400)
docs/contrib/replyfilter
patch
|
blob
|
history
diff --git
a/docs/contrib/replyfilter
b/docs/contrib/replyfilter
index
8e591bd
..
ed4fe6b
100755
(executable)
--- a/
docs/contrib/replyfilter
+++ b/
docs/contrib/replyfilter
@@
-193,7
+193,7
@@
sub process_text (*$$;$)
binmode($input, ':encoding(us-ascii)');
binmode($input, ':encoding(us-ascii)');
- $decoder = find_decoder($encoding);
+ $decoder = find_decoder(lc($encoding));
if (! defined $decoder) {
return 'EOF';
}
if (! defined $decoder) {
return 'EOF';
}
@@
-348,7
+348,7
@@
sub process_html (*$$;$)
my $filterpid, $prefixpid, $finread, $finwrite;
my $foutread, $foutwrite, $decoder, $ret;
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';
}
return 'EOF';
}