=================== BUG #3478: LATEST MODIFICATIONS ==================
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=3478&group_id=1968
Changes by: Earl Hood <earl(_at_)earlhood(_dot_)com>
Date: Fri 06/20/2003 at 13:11 (US/Central)
What | Removed | Added
---------------------------------------------------------------------------
Status | Open | Closed
Fixed Release | | 2.6.4
=================== BUG #3478: FULL BUG SNAPSHOT ===================
Submitted by: wanted Project: MHonArc
Submitted on: Mon 05/05/2003 at 14:33
Category: MIME Severity: 5 - Major
Bug Group: Feature Request Resolution: Fixed
Assigned to: None Status: Closed
Platform Version: All Perl Version: All
Component Version: <=2.6.3 Fixed Release: 2.6.4
Summary: Quoted-Printable decoding should also work with lowercase hex numbers
Original Submission: During archive processing I've found some Subject: lines
are not properly decoded from Quoted-Printable in MHonarc.
After some investigation I've located the problem with such headers:
Subject: =?ISO-8859-2?Q?guz_m=f3zgu?=
is caused by some popular webmail of a Polish portal site, which seems to
encode characters using lowercase hexadecimal (e.g. "f3") numbers, instead of
uppercase. RFC 1521 specifies, that the set [A-F] should be used,
but "robust" decoders could make the effort to also interpret [a-f] properly.
The fix is simple: in qprint.pl substitute:
s/=([0-9A-F]{2})/pack("H2",$1)/ge;
with:
s/=([0-9A-Fa-f]{2})/pack("H2",$1)/ge;
Follow-up Comments
*******************
-------------------------------------------------------
Date: Mon 05/19/2003 at 04:13 By: ehood
Fixed applied to qprint.pl and checked into CVS.
CC list is empty
No files currently attached
For detailed info, follow this link:
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=3478&group_id=1968
---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV