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

Don't include one extra space after 334 response #367

Merged
merged 1 commit into from
Jan 29, 2021

Conversation

gregopet
Copy link
Contributor

The SMTP_SERVER_CONTINUATION constant already contains a space at the end and there is even a comment warning about that next to its definition.

It trips some clients up (Vert.x Mail client in my case) and is not according to spec which says "334" SP [base64] CRLF (looking at https://tools.ietf.org/html/rfc4954#ref-SASL).

It trips some clients up and is not according to spec.
@gregopet
Copy link
Contributor Author

Actually, the use of isEqualToNormalizingWhitespace in SMTPCommandTest.java could also be changed as it hides this problem in the first place.

@marcelmay marcelmay self-assigned this Jan 28, 2021
@marcelmay marcelmay added the bug label Jan 28, 2021
@marcelmay marcelmay added this to the 1.6.2 milestone Jan 28, 2021
@marcelmay marcelmay merged commit 7197c79 into greenmail-mail-test:master Jan 29, 2021
@marcelmay
Copy link
Member

Thx alot, @gregopet !

@gregopet
Copy link
Contributor Author

Happy to have helped, and indeed happy that I was able to help :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants