Subject: | Response to bad data |
Date: | Mon, 31 May 2010 14:12:20 +1000 |
To: | bug-Encode-IMAPUTF7 [...] rt.cpan.org |
From: | "Richard Lovejoy" <rjlovejoy [...] fastmail.fm> |
Date: | Mon, 31 May 2010 00:12:20 -0400 |
Hi.
It seems that Encode::IMAPUTF7::decode doesn't quite do what you might
expect when it encounters bytes that contain an "&" by itself.
It dies with 'This should not happen' at line 71.
I think this is just because there is a fragment of code which is
still treating "+" as the shift character.
I'm attaching a patch which fixes things for me.
Cheers,
Richard.
--
Richard Lovejoy
Date: | Mon, 31 May 2010 00:12:20 -0400 |
Message body is not shown because sender requested not to inline it.