[#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 Michael Slusarz <slusarz (at) horde (dot) org>
Requester taguchi (at) tcltk (dot) jp
Created 11/08/08 (493 days ago)
Due
Updated 01/12/10 (63 days ago)
Assigned 11/08/08 (493 days ago)
Resolved 12/03/08 (468 days ago)
Attachments patch-Part.php Download
Milestone
Patch Yes

History
01/12/10 CVS Commit Comment #5 Reply to this comment
12/03/08 Michael Slusarz Comment #4
State ⇒ Resolved
Reply to this comment
Fixed in Horde 3.3.1.
12/03/08 CVS Commit Comment #3 Reply to this comment
12/03/08 CVS Commit Comment #2 Reply to this comment
11/08/08 Jan Schneider Priority ⇒ 2. Medium
State ⇒ Assigned
Assigned to Michael Slusarz
 
11/08/08 taguchi (at) tcltk (dot) jp Comment #1
State ⇒ Unconfirmed
New Attachment: patch-Part.php Download
Patch ⇒ 1
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ getTransferEncoding() in lib/Horde/MIME is incorrect
Type ⇒ Bug
Priority ⇒ 3. High
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.