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
Unknown Object (File)
Tue, Jan 28, 3:00 PM
Unknown Object (File)
Tue, Jan 28, 12:05 PM
Unknown Object (File)
Sat, Jan 25, 4:12 PM
Unknown Object (File)
Sat, Jan 25, 4:12 PM
Unknown Object (File)
Sat, Jan 25, 4:12 PM
Unknown Object (File)
Sat, Jan 25, 3:07 AM
Unknown Object (File)
Thu, Jan 23, 9:23 PM
Unknown Object (File)
Tue, Jan 21, 12:49 PM
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