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

fix for values with encoded equal signs #289

Merged
merged 2 commits into from
Apr 27, 2023

Conversation

komkom
Copy link
Contributor

@komkom komkom commented Apr 27, 2023

We faced the issue that emails with encoded equal signs could not be parsed in certain cases. This fix should improve the situation.
Thank you in advance for any code reviews and great library!

@iredmail
Copy link
Contributor

Better use strings.Cut() instead of strings.SplitAfterN().

  • strings.Cut() was introduced in Go 1.18.
  • enmime requires Go 1.18 too as defined in go.mod.

@jhillyerd jhillyerd merged commit 9d1fd9c into jhillyerd:master Apr 27, 2023
@jhillyerd
Copy link
Owner

Nice, thank you!

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.

3 participants