Skip Menu |
 

This queue is for tickets about the MailTools CPAN distribution.

Report information
The Basics
Id: 7303
Status: resolved
Priority: 0/
Queue: MailTools

People
Owner: Nobody in particular
Requestors: chris [...] camk.edu.pl
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.62
Fixed in: (no value)



Subject: Incorrect Message-ID case folding
Download (untitled) / with headers
text/plain 613b
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
Download (untitled) / with headers
text/plain 163b
"Incorrect" is not right: fields are case-insensitive. But "less than optimal" is a justified expression. I have added your change, also to Mail::Message::Field.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.