Skip to content

fix: decode RFC 2047 Email::MIME headers - #1145

Merged
fglock merged 1 commit into
masterfrom
fix/email-mime-rfc2047
Aug 27, 2026
Merged

fix: decode RFC 2047 Email::MIME headers#1145
fglock merged 1 commit into
masterfrom
fix/email-mime-rfc2047

Conversation

@fglock

@fglock fglock commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • autoload and register Encode::MIME::Header for MIME-Header lookups
  • restore RFC 2047 encoded-word decoding used by Email::MIME headers
  • add a focused regression test for UTF-8 base64 and adjacent encoded words
  • update the WIP changelog

Closes #1141

Validation

  • perl src/test/resources/unit/encode_mime_header_autoload.t
  • ./jperl src/test/resources/unit/encode_mime_header_autoload.t
  • ./jperl --interpreter src/test/resources/unit/encode_mime_header_autoload.t
  • make
  • make check-links

Generated with Codex

Register Encode::MIME::Header when MIME-Header is requested so Email::MIME
can decode encoded display names without explicitly loading the codec.

Closes #1141

Generated with [Codex](https://openai.com/codex/)

Co-Authored-By: Codex <codex@openai.com>
@fglock
fglock force-pushed the fix/email-mime-rfc2047 branch from f6b2e4b to 5e53fd5 Compare August 27, 2026 06:45
@fglock
fglock merged commit 2824871 into master Aug 27, 2026
2 checks passed
@fglock
fglock deleted the fix/email-mime-rfc2047 branch August 27, 2026 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: decode RFC 2047 headers for Email::MIME address parsing

1 participant