Skip to content

fix: utf8 decoding - #11510

Merged
wmontwe merged 2 commits into
mainfrom
fix-utf8-decoding
Sep 9, 2026
Merged

fix: utf8 decoding#11510
wmontwe merged 2 commits into
mainfrom
fix-utf8-decoding

Conversation

@wmontwe

@wmontwe wmontwe commented Sep 7, 2026

Copy link
Copy Markdown
Member

Contribution Summary

Linked Issue/Ticket: resolves #11508

Description

Fix UTF-8 MIME header decoding broken by the Mime4j 0.8.14 update. Raw headers are now explicitly decoded as UTF-8 instead of relying on Mime4j’s ISO-8859-1 toString() behavior.

Adds regression tests for attachment filenames across all affected parsing paths.

AI Disclosure

Select one of the following (mandatory)

  • This contribution does not include any changes created or assisted by AI.
  • This contribution includes changes assisted by AI.
  • This contribution includes changes created by AI.

@wmontwe
wmontwe requested a review from a team as a code owner September 7, 2026 16:49
@wmontwe wmontwe changed the title Fix utf8 decoding fix: utf8 decoding Sep 7, 2026
@github-actions github-actions Bot added the tb-team Tasks and features handled by project maintainers label Sep 7, 2026
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Validation Passed: All report and feature-flag labels are correctly set.

@wmontwe wmontwe added the report: include Include changes in user-facing reports. label Sep 7, 2026

@rafaeltonholo rafaeltonholo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wmontwe
wmontwe merged commit 09f0589 into main Sep 9, 2026
22 of 24 checks passed
@wmontwe
wmontwe deleted the fix-utf8-decoding branch September 9, 2026 12:24
@thunderbird-botmobile thunderbird-botmobile Bot added this to the Thunderbird 25 milestone Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

report: include Include changes in user-facing reports. tb-team Tasks and features handled by project maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v21.0 broke attachment name decoding

2 participants