6.0.0-beta1
7/19/25

[#7657] getTransferEncoding() in lib/Horde/MIME is incorrect
Summary getTransferEncoding() in lib/Horde/MIME is incorrect
Queue Horde Framework Packages
Queue Version FRAMEWORK_3
Type Bug
State Resolved
Priority 2. Medium
Owners slusarz (at) horde (dot) org
Requester taguchi (at) tcltk (dot) jp
Created 11/08/2008 (6097 days ago)
Due
Updated 01/12/2010 (5667 days ago)
Assigned 11/08/2008 (6097 days ago)
Resolved 12/03/2008 (6072 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
12/03/2008 06:49:25 AM Michael Slusarz Comment #4
State ⇒ Resolved
Reply to this comment
Fixed in Horde 3.3.1.
12/03/2008 06:49:00 AM CVS Commit Comment #3 Reply to this comment
12/03/2008 06:48:09 AM CVS Commit Comment #2 Reply to this comment
11/08/2008 10:34:49 AM Jan Schneider State ⇒ Assigned
Priority ⇒ 2. Medium
Assigned to Michael Slusarz
 
11/08/2008 09:11:01 AM taguchi (at) tcltk (dot) jp Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ getTransferEncoding() in lib/Horde/MIME is incorrect
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ Yes
New Attachment: patch-Part.php Download
State ⇒ Unconfirmed
Reply to this comment
getTransferEncoding() is incorrect.



This function checks long line (>999) using regex pattern.

This pattern is "/(?:\n|^)[^\n]{999,}(?:\n|$)/".

But it is incorrect. because EOL(='\n') has already removed

using str_replace().



attached patch is a fix this probrem(I hope so).



Thanks.

Saved Queries