| Summary | Bug in imp/lib/MIME/Contents.php |
| Queue | Horde Groupware Webmail Edition |
| Queue Version | 1.1.1 |
| Type | Bug |
| State | Resolved |
| Priority | 1. Low |
| Owners | |
| Requester | tomi (dot) leppikangas (at) gmail (dot) com |
| Created | 07/24/2008 (119 days ago) |
| Due | |
| Updated | 07/24/2008 (119 days ago) |
| Assigned | |
| Resolved | 07/24/2008 (119 days ago) |
| Attachments | |
| Milestone | |
| Patch | Yes |
State ⇒ Resolved
different piece of code. But it's the same bug and the correct fix,
thanks.
http://cvs.horde.org/diff.php/imp/lib/MIME/Contents.php?r1=1.278&r2=1.279&ty=u
Patch ⇒ 1
Milestone ⇒
Queue ⇒ Horde Groupware Webmail Edition
Summary ⇒ Bug in imp/lib/MIME/Contents.php
Type ⇒ Bug
Priority ⇒ 1. Low
State ⇒ Unconfirmed
webmail edition 1.1.
Patch below fixed this.
diff -ru horde-webmail-1.1.1/imp/lib/MIME/Contents.php
horde-test/imp/lib/MIME/Contents.php
--- horde-webmail-1.1.1/imp/lib/MIME/Contents.php 2008-06-14
02:55:34.000000000 +0300
+++ horde-test/imp/lib/MIME/Contents.php 2008-07-24 14:03:21.000000000 +0300
@@ -764,7 +764,7 @@
}
$contents = $this->getBodyPart($id);
if (($mime_part->getPrimaryType() == 'text') &&
- ($mime_part->getCharset() == 'us-ascii') &&
+ (String::lower($mime_part->getCharset()) == 'us-ascii') &&
MIME::is8bit($contents)) {
$contents = String::convertCharset($contents, 'US-ASCII');
}