6.0.0-beta1
7/6/25

[#8635] QP encode bug produces too long line
Summary QP encode bug produces too long line
Queue Horde Framework Packages
Queue Version FRAMEWORK_3
Type Bug
State Resolved
Priority 2. Medium
Owners slusarz (at) horde (dot) org
Requester maciej.uhlig (at) us (dot) edu (dot) pl
Created 10/11/2009 (5747 days ago)
Due
Updated 10/11/2009 (5747 days ago)
Assigned 10/11/2009 (5747 days ago)
Resolved 10/11/2009 (5747 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/11/2009 10:28:11 PM Michael Slusarz State ⇒ Resolved
 
10/11/2009 10:27:35 PM CVS Commit Comment #2 Reply to this comment
Changes have been made in CVS for this ticket:

Bug: 8635
Submitted by: maciej.uhlig@us.edu.pl
Make sure we limit QP to max 76 characters in line.
http://cvs.horde.org/diff.php/framework/MIME/Attic/MIME.php?rt=horde&r1=1.139.4.47&r2=1.139.4.48&ty=u
10/11/2009 10:56:00 AM Jan Schneider Version ⇒ FRAMEWORK_3
Queue ⇒ Horde Framework Packages
 
10/11/2009 10:55:41 AM Jan Schneider State ⇒ Assigned
Assigned to Michael Slusarz
 
10/11/2009 10:32:29 AM maciej (dot) uhlig (at) us (dot) edu (dot) pl Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ QP encode bug produces too long line
Queue ⇒ Horde Groupware Webmail Edition
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Function quotedPrintableEncode($text, $eol) in lib/Horde/MIME.php 
produces too long output (encoded) line. The symptom is SpamAssassin 
message regarding MIME_QP_LONG_LINE test in a mail message which 
shouldn't happen.



It is suggested to change: "if ($curr_length > 76) {" to "if 
($curr_length > 75) {" although YMMV.

Saved Queries