[Tickets #5043] IMP crashes while trying to display a special MIME Message
bugs@bugs.horde.org
bugs at bugs.horde.org
Mon Feb 26 10:07:23 PST 2007
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=5043
-----------------------------------------------------------------------
Ticket | 5043
Created By | jt at df.eu
Summary | IMP crashes while trying to display a special MIME Message
Queue | IMP
Version | 4.1.3
Type | Bug
State | Unconfirmed
Priority | 1. Low
Owners |
-----------------------------------------------------------------------
jt at df.eu (2007-02-26 10:07) wrote:
Login. Try to display a message that is generated by a FritzBox (Subject:
"FRITZ!Box Push Service: Verbindungsübersicht vom ...") by clicking on
it.
A white page shows up (Imp crashes).
I am very sorry that I can not provide the culprit message here but I have
to repect the privacy wishes of my customer.
Problem seems to occur while processing a mime/related part. My "fix"
(patch) for this is appended below. I am very sorry for not providing more
input, if this information is too sparse please feel free to close the bug
report and curse about incompetent users right now. The MIME message may
as well be broken.
I just want to give you guys a chance to have a look at this, maybe you
can judge by the patch if this is important or not.
--- old/horde/imp/lib/MIME/Viewer/related.php 2007-02-09
16:07:54.000000000 +0100
+++ new/horde/imp/lib/MIME/Viewer/related.php 2007-02-26
18:49:17.000000000 +0100
@@ -52,7 +52,7 @@
/* Only display if the start part (normally text/html) can be
displayed
inline -OR- we are viewing this part as an attachment. */
- if ($contents->canDisplayInline($start) ||
+ if ( ($start && $contents->canDisplayInline($start)) ||
$contents->viewAsAttachment()) {
$text = $contents->renderMIMEPart($start);
$this->_charset = $start->getCharset();
More information about the bugs
mailing list