[Tickets #14931] Invalid date in an email makes imp break entirely

[email protected] Tue, 25 Jun 2019 13:12:50 +0000
Newsgroups gmane.comp.horde.bugs
Message-ID <[email protected]>
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/14931
------------------------------------------------------------------------------
  Ticket             | 14931
  Created By         | [email protected]
  Summary            | Invalid date in an email makes imp break entirely
  Queue              | IMP
  Version            | FRAMEWORK_5_2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 3. High
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


[email protected] (2019-06-25 13:12) wrote:

If you receive an email dated enough in the future, for example in the  
year 2155, imp 6.2.22's Mailbox::Ui::getDate() function returns  
invalid data, which makes the JSON contain an email with Date property  
set to false instead of a date, which makes the whole imp to break  
entirely. No folder list, no email list, nothing. The user cannot fix  
this without deleting the email through some other application.

It can easily be patched by adding a check for what strftime returns  
and if it's false then return _("Unknown Date") instead of what  
strftime says.



-- 
bugs mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]