| 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 ![]() |
| Milestone | |
| Patch | Yes |
Fix from
Ticket #7657.http://git.horde.org/diff.php/framework/Mime/lib/Horde/Mime/Part.php?rt=horde-git&r1=edef452376f329fe6b1dd882714f71b6a34305c3&r2=a4eb192ebc32a5afddf3b02921b59ad6dc030bc9
State ⇒ Resolved
http://cvs.horde.org/diff.php/framework/MIME/MIME/Part.php?r1=1.177.4.24&r2=1.177.4.25&ty=u
http://cvs.horde.org/diff.php/framework/MIME/MIME/Part.php?r1=1.215&r2=1.216&ty=u
State ⇒ Assigned
Assigned to Michael Slusarz
State ⇒ Unconfirmed
New Attachment: patch-Part.php
Patch ⇒ 1
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ getTransferEncoding() in lib/Horde/MIME is incorrect
Type ⇒ Bug
Priority ⇒ 3. High
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.