quantranhong1999 commented on PR #2856:
URL: https://github.com/apache/james-project/pull/2856#issuecomment-3530715204
Another failing test when the address header is (malformed?) a bare name:
### Before
parsed full address: Frédéric MARTIN as:
AddressHeader{personal=Optional[Frédéric MARTIN], address=Optional.empty,
fullAddress=Frédéric MARTIN}
### After
parsed full address: Frédéric MARTIN as:
AddressHeader{personal=Optional[Frédéric MART], address=Optional[Frédéric
MART], fullAddress=Frédéric MARTIN}
It seems mime4j truncated `Frédéric MARTIN` -> `Frédéric MART`.
Given the logical effect of fallback to mime4j for the malformed address
cases, I am not sure if it is worth trying to leniently handle them, or we
should just keep the current Jakarta Mail behaviour.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]