Summary | Javascript error with Internet Explorer 7 and 8-bit chars in mail headers |
Queue | DIMP |
Queue Version | 1.1 |
Type | Bug |
State | Not A Bug |
Priority | 2. Medium |
Owners | |
Requester | frederic.jacquot (at) insa-lyon (dot) fr |
Created | 03/05/2009 (5968 days ago) |
Due | |
Updated | 03/11/2009 (5962 days ago) |
Assigned | 03/09/2009 (5964 days ago) |
Resolved | 03/09/2009 (5964 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
"The following items are not required, but are strongly **RECOMMENDED**"
encoder may result in the JSON output to the browser being
prematurely terminated, resulting in incomplete or blank screens."
So not required, but recommended to view things such as, for example,
broken messages.
the folder parsing is simply stopped when a broken messages is found,
resulting in an incomplete message list.
"The following items are not required, but are strongly **RECOMMENDED**"
encoder may result in the JSON output to the browser being prematurely
terminated, resulting in incomplete or blank screens." So not
required, but recommended to view things such as, for example, broken
messages.
"The following items are not required, but are strongly **RECOMMENDED**"
State ⇒ Not A Bug
previous problems with json encoding - are you sure you have
mbstring/iconv working, and a recent PHP 5.2.x?
mbstring and iconv are enabled :
iconv support enabled
iconv implementation glibc
iconv library version 2.7
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1
Multibyte Support enabled
Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 4.4.4
Multibyte regex (oniguruma) backtrack check On
State ⇒ Feedback
previous problems with json encoding - are you sure you have
mbstring/iconv working, and a recent PHP 5.2.x?
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Javascript error with Internet Explorer 7 and 8-bit chars in mail headers
Queue ⇒ DIMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
I get the following Javascript error (with js debug enabled) when I
open a mailbox which contains a message with incorrect headers :
" onException: TypeError-'this.element' is Null or not an object "
Everything works fine with Firefox or with IMP (both with IE7 and Firefox).
The message contains 8-bit data in the "From:" line :
From: Gérard XXX<xxx.xxx@gmail.com>
An Amavis header underlines the problem :
"X-Amavis-Alert: BAD HEADER SECTION, Non-encoded 8-bit data (char E9 hex)"
If Javascript debugging is disabled in Dimp, the message listing stops
at the concerned message ; ie the user thinks some messages
disappeared from his mailbox.