Ticket #113 (closed Bugs: fixed)

Opened 9 years ago

Last modified 9 years ago

BODYSTRUCTURE parsing fails to account for additional fields

Reported by: octo Owned by: octo
Priority: minor Milestone: 1.0.x
Component: LogicMail Version: 1.0.2
Keywords: imap Cc:
Blocked By: Blocking:

Description

The current implementation of the IMAP BODYSTRUCTURE parser assumes a hard-coded relation between the number of sections and the length of the sequence. Some servers (i.e. Fastmail) may include additional sections, and this can result in the returned data structure containing null sections. These null sections then cause errors when trying to load them.

The implementation should instead dynamically size the array based on how many sections are actually added.

Change History

comment:1 Changed 9 years ago by octo

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in 1.0.3

Note: See TracTickets for help on using tickets.