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
F13521331: D20069.diff
Fri, Jul 26, 5:10 AM
Unknown Object (File)
Tue, Jul 23, 7:03 AM
Unknown Object (File)
Fri, Jul 19, 10:39 AM
Unknown Object (File)
Wed, Jul 17, 1:12 AM
Unknown Object (File)
Sat, Jul 13, 2:27 PM
Unknown Object (File)
Wed, Jul 10, 5:25 PM
Unknown Object (File)
Mon, Jul 8, 8:25 AM
Unknown Object (File)
Mon, Jul 8, 7:21 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