Page MenuHomePhabricator

Provide a portable mail MIME header decoding function in libphutil
ClosedPublic

Authored by epriestley on Jan 30 2019, 10:50 PM.
Tags
None
Referenced Files
F15505971: D20069.diff
Tue, Apr 15, 7:26 AM
F15504357: D20069.id47926.diff
Mon, Apr 14, 5:33 PM
F15504356: D20069.id47919.diff
Mon, Apr 14, 5:33 PM
F15504354: D20069.id.diff
Mon, Apr 14, 5:33 PM
F15504353: D20069.diff
Mon, Apr 14, 5:33 PM
F15465870: D20069.id47926.diff
Wed, Apr 2, 11:57 PM
F15456536: D20069.id47919.diff
Sun, Mar 30, 10:24 AM
F15435229: D20069.id.diff
Tue, Mar 25, 7:28 AM
Subscribers
None

Details

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.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable