[Xapian-tickets] [Xapian] #718: outlookmsg2html aborts with a rfc822 part
Xapian
nobody at xapian.org
Mon Apr 11 10:29:16 BST 2016
#718: outlookmsg2html aborts with a rfc822 part
-----------------------------+--------------------
Reporter: he_e | Owner: olly
Type: defect | Status: new
Priority: high | Milestone:
Component: Other | Version: 1.2.16
Severity: critical | Keywords:
Blocked By: | Blocking:
Operating System: All |
-----------------------------+--------------------
If a mail contains a part with Content-Type rfc822, then outlookmsg2html
aborts with following error:
{{{
Can't call method "content_type" on an undefined value at
outlookmsg2html.pl line 43
}}}
'''Suggestion to fix it'''
Add if defined $e to following line in
outlookmsg2html.in::handle_mimepart:
{{{
my ($type, $sub) = ((lc $e->content_type) =~ m,^(.*?)/(.*?)(?:;.*)?$,) if
defined $e;
}}}
--
Ticket URL: <https://trac.xapian.org/ticket/718>
Xapian <//xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list