HomePhabricator

Provide a portable mail MIME header decoding function in libphutil

Description

Provide a portable mail MIME header decoding function in libphutil

Summary:
See T13232. We currently have a hard dependency on the "iconv" extension to support exactly one call in inbound mail handling if you run your own local SMTP server.

Wrap it and provide an "mbstring" alternative.

Test Plan: Called both methods on some inputs, they appeared to have the same behavior.

Reviewers: amckinley

Reviewed By: amckinley

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

Details

Provenance
epriestleyAuthored on Jan 30 2019, 10:45 PM
epriestleyPushed on Jan 31 2019, 3:27 AM
Reviewer
amckinley
Differential Revision
D20069: Provide a portable mail MIME header decoding function in libphutil
Parents
rPHUfc2d2d406599: Use "exec" to skip the Dash intermediate shell for "pygmentize"
Branches
Unknown
Tags
Unknown
Build Status
Buildable 21776
Build 29716: Run Core Tests