mirror of
https://github.com/axllent/mailpit.git
synced 2026-04-26 00:35:51 +03:00
[GH-ISSUE #344] Tags from headers don't respect RFC 2047 encoding #226
Labels
No labels
awaiting feedback
bug
docker
documentation
enhancement
github_actions
invalid
pull-request
question
stale
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mailpit#226
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ScopeyNZ on GitHub (Aug 8, 2024).
Original GitHub issue: https://github.com/axllent/mailpit/issues/344
If you send a UTF-8 (for example) encoded header value for
X-Tagsthen the tag you get will include the encoding artifacts:@axllent commented on GitHub (Aug 8, 2024):
I'm not sure why anyone would UFT8-encode the
X-Tagsvalues when UTF8 characters are not supported? Can you please explain the reasoning for UFT8-encoding them in the first place?@ScopeyNZ commented on GitHub (Aug 8, 2024):
UTF-8 encoding is just a side effect of the mailing service we use and us requiring other headers to be UTF-8 encoded. You're right that we can work around this on our end by specifically not encoding this header, but I assumed that it might be of interest to have this report here as a record (and I also hoped that it would be somewhat trivial to address 😅).
@axllent commented on GitHub (Aug 8, 2024):
Ahh, I see your point. I'll look into this and see what, if anything, be done about it 👍
@axllent commented on GitHub (Aug 10, 2024):
This has feature been released as part of v1.20.1. It should correctly decode a mime-encoded X-Tag header now, even if that means stripping them of non-supported characters (assuming it contained that). Please let me know if this resolves your issue?
@ScopeyNZ commented on GitHub (Aug 14, 2024):
Thanks for addressing this so quickly! I can confirm that it's resolved :)