summaryrefslogtreecommitdiff
path: root/fml
diff options
context:
space:
mode:
authortmu <tmu>2004-04-15 09:36:56 +0000
committertmu <tmu>2004-04-15 09:36:56 +0000
commite3422f063bf05e2bad423cf4965d8e4da8b7e465 (patch)
tree68b4592b48d8d1de8c7bcf6e058eb3ce307dc2d5 /fml
parent7f89249cac3201a19327726fb62f5f496fdb8952 (diff)
downloadfml8-e3422f063bf05e2bad423cf4965d8e4da8b7e465.tar.gz
fml8-e3422f063bf05e2bad423cf4965d8e4da8b7e465.tar.bz2
fml8-e3422f063bf05e2bad423cf4965d8e4da8b7e465.zip
Content-Type case-insensitive in _data_type()
Diffstat (limited to 'fml')
-rw-r--r--fml/lib/Mail/Message.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/fml/lib/Mail/Message.pm b/fml/lib/Mail/Message.pm
index 52d980c2..a4765c81 100644
--- a/fml/lib/Mail/Message.pm
+++ b/fml/lib/Mail/Message.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: Message.pm,v 1.91 2004/03/28 10:29:56 fukachan Exp $
+# $FML: Message.pm,v 1.92 2004/03/31 02:48:23 fukachan Exp $
#
package Mail::Message;
@@ -1665,7 +1665,7 @@ sub _data_type
my ($args, $default) = @_;
my $buf = $args->{ header } || '';
- if ($buf =~ /Content-Type:\s*(\S+\w+)(\n|\;|\s*$)/) {
+ if ($buf =~ /Content-Type:\s*(\S+\w+)(\n|\;|\s*$)/i) {
return "\L$1";
}
else {