You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
packagejakarta.mail.internet;
classInternetAddress {
...
/* * RFC822 Address parser. * * XXX - This is complex enough that it ought to be a real parser, * not this ad-hoc mess, and because of that, this is not perfect. * * XXX - Deal with encoded Headers too. */@SuppressWarnings("fallthrough")
privatestaticInternetAddress[] parse(Strings, booleanstrict,
booleanparseHdr) throwsAddressException {
...
}
}
Expected behavior
the "MAIL:" header must be parsed with no error
In what version(s) are you seeing this issue?
jakarta.mail-2.0.3.jar
spring.integration.core-6.3.0.RELEASE
@see spring-projects/spring-integration#9746
Describe the bug
A form header terminating by ; in a EML message raise an exception in MailUtils.arrayToDelimitedString()
For example "From: [email protected];"
To Reproduce
Send an EML message with "FROM:" header terminating by ";"
example:
And create this Bean on server side to access to mailbox using IMAPS
will raise this exception :
Expected behavior
the "MAIL:" header must be parsed with no error
Sample
Send this EML :
kind regards
David
The text was updated successfully, but these errors were encountered: