You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mailet-api@james.apache.org by "Norman Maurer (JIRA)" <ma...@james.apache.org> on 2011/01/20 14:02:45 UTC
[jira] Updated: (MAILET-28) MailAddress is not RFC 821 compliant
[ https://issues.apache.org/jira/browse/MAILET-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer updated MAILET-28:
--------------------------------
Fix Version/s: 2.5
> MailAddress is not RFC 821 compliant
> ------------------------------------
>
> Key: MAILET-28
> URL: https://issues.apache.org/jira/browse/MAILET-28
> Project: Mailet
> Issue Type: Bug
> Components: Core API
> Affects Versions: 2.4
> Reporter: Amichai Rothman
> Fix For: 2.5
>
> Attachments: mailaddress_tests_and_fixes.diff
>
>
> MailAddress address parsing claims to be RFC 821 compliant but fails in various ways. I added a bunch of test cases to the unit tests, and fixed several that failed.
> On a related note, perhaps it's time to move it to RFC 5321 compliance (not entirely cross-compatible with 821, but it obsoletes it and is the current standard, and incompatibilities are generally in obscure syntax constructs which are never used in practice anyway). I was thinking of a complete rewrite, seeing that the current implementation is buggy, over-complex and inefficient (e.g. using lots of StringBuffers which are not needed, having an unnecessary field which is used only during construction, etc.)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.