Skip Menu |

This queue is for tickets about the Encode-IMAPUTF7 CPAN distribution.

Report information
The Basics
Id: 57984
Status: resolved
Priority: 0/
Queue: Encode-IMAPUTF7

People
Owner: Nobody in particular
Requestors: rjlovejoy [...] fastmail.fm
Cc:
AdminCc:

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



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.

Thank for you patch. It is included in version 1.05 just uploaded to CPAN.