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
F13098736: D20069.id47919.diff
Fri, Apr 26, 9:45 AM
Unknown Object (File)
Thu, Apr 25, 9:04 PM
Unknown Object (File)
Sat, Apr 20, 4:31 PM
Unknown Object (File)
Thu, Apr 18, 3:37 PM
Unknown Object (File)
Wed, Apr 17, 6:28 AM
Unknown Object (File)
Thu, Apr 11, 10:47 AM
Unknown Object (File)
Sun, Apr 7, 2:57 AM
Unknown Object (File)
Mar 27 2024, 5:22 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