Subject: | Incorrect Message-ID case folding |
The function Mail::Header::_tag_case incorrectly converts the case of "Message-ID". RFCs 822 upto 2822 specify "Message-ID" as the only correct spelling. Mime::Header::_tag_case folds it to "Message-Id".
I made a tiny one line patch to fix this problem.
--- orig/Header.pm 2004-03-24 13:29:41.000000000 +0100
+++ Header.pm 2004-08-09 19:56:37.000000000 +0200
@@ -157,3 +157,3 @@
join('-',
- map { /^[b-df-hj-np-tv-z]+$|^(?:MIME|SWE|SOAP|LDAP)$/i
+ map { /^[b-df-hj-np-tv-z]+$|^(?:MIME|SWE|SOAP|LDAP|ID)$/i
? uc($_) : ucfirst(lc($_)) }
Thanks for developing MailTools for us!
--chris