HomePhorge

Work around mailparse bug (?) with messages that have no terminal newline

Description

Work around mailparse bug (?) with messages that have no terminal newline

Summary: Under some unusual circumstances, mailparse appears to incorrectly discard the last line of some mail messages.

Test Plan:

  • Constructed a raw mail with no terminal newline.
  • Piped it into mail_receiver.php.
  • Saw the last line vanish into the aether.
  • Applied patch; repeated; last line survived.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: chad, epriestley

Differential Revision: https://secure.phabricator.com/D12494

Details

Provenance
epriestleyAuthored on Apr 21 2015, 9:49 AM
themackabuPushed on Tue, Mar 25, 8:07 PM
Parents
rPd8ab5f594c7f: Quicksand - make page object notifications work properly with quicksand
Branches
Unknown
Tags
Unknown

Event Timeline