Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encode e-mail subject to support non-ASCII chars #888

Merged
merged 4 commits into from
Feb 18, 2021

Conversation

VeselovAlex
Copy link
Contributor

Add base64-encoding to email Subject: header value to allow non-ASCII characters, according to RFC2047. Current implementation produces invalid messages when e.g. page title contains Cyrillic letters.

@coveralls
Copy link

coveralls commented Feb 18, 2021

Pull Request Test Coverage Report for Build 579415284

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.03%) to 83.531%

Totals Coverage Status
Change from base Build 569488182: 0.03%
Covered Lines: 5295
Relevant Lines: 6339

💛 - Coveralls

@paskal
Copy link
Sponsor Collaborator

paskal commented Feb 18, 2021

Would you be so kind as to add tests for this?

@umputun umputun requested a review from paskal February 18, 2021 17:26
Copy link
Owner

@umputun umputun left a comment

Choose a reason for hiding this comment

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

LGTM, thx

@umputun umputun merged commit a38fd1f into umputun:master Feb 18, 2021
@VeselovAlex VeselovAlex deleted the email-encode-subject branch February 19, 2021 13:53
@paskal paskal added this to the v1.7 milestone Jan 15, 2022
umputun pushed a commit to go-pkgz/email that referenced this pull request Apr 28, 2022
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.

None yet

4 participants