Mail::Box header parse loop bugs...
"Anthony D. Urso" <[email protected]> Sat, 12 Mar 2005 19:07:55 -0800
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Message-ID | <[email protected]> |
Mail::Message::Field::Full::consumePhrase() refuses to consume this phrase,
found in a real spam:
Content-Type: multipart/alternative;
boundary="--9arterial{403buzzing?575aeneid%903fungi\"
Since it isn't consumed, Mail::Message::Field::Structured::parse() goes
into the obligatory busy-loop.
Removing the backslash works around the problem; however, I suspect that the
regular expresion in consumePhrase needs to be altered, and something needs
to be done about that parse() loop, it is far too easy to get it in a bad
state.
Thanks,
Anthony
--
Au
PGP Key ID: 0x385B44CB
Fingerprint: 9E9E B116 DB2C D734 C090 E72F 43A0 95C4 385B 44CB
"Maximus vero fugiens a quodam Urso, milite Romano, interemptus est"
- Getica 235