[prev in list] [next in list] [prev in thread] [next in thread]
List: perl-mailbox
Subject: Re: Minor bug with Mail::Message::Body::Multipart
From: Mark Overmeer <Mark () Overmeer ! net>
Date: 2002-06-24 5:10:13
[Download RAW message or body]
* Jeff Squyres (jeff@squyres.com) [020624 04:29]:
> I noticed that multipart messages sent from pine 4.4x did not get parsed
> properly by Mail::Message.
> The problem is the "BOUNDARY" comment. Multipart.pm/init() scans for the
> attribute 'boundary' -- not 'BOUNDARY'.
I should look this up in the RFCs, but think that --independent of what
the RFC tell us-- more applications will have mixed casing here.
I will change Mail::Message::Field:
- { unless($comment =~ s/\b$name=(['"]?)[^'"]*\1/$name=$1$value$1/ )
+ { unless($comment =~ s/\b$name=(['"]?)[^'"]*\1/$name=$1$value$1/i )
- $comment =~ m/\b$name=(['"]?)([^'"]*)\1/ ;
+ $comment =~ m/\b$name=(['"]?)([^'"]*)\1/i ;
This will be a more general fix then yours, but I expect that will be
required in the long term. Thanks for the fix.
--
MarkOv %-]
------------------------------------------------------------------------
drs Mark A.C.J. Overmeer MARKOV Solutions
Mark@Overmeer.net solutions@overmeer.net
http://Mark.Overmeer.net http://solutions.overmeer.net
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic