james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <mime4j-...@james.apache.org>
Subject [jira] [Resolved] (MIME4J-181) AddressListParser should allow non ASCII characters in the name part of addresses
Date Wed, 15 Jun 2011 09:54:47 GMT

     [ https://issues.apache.org/jira/browse/MIME4J-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Kalnichevski resolved MIME4J-181.
--------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 0.8)
                   0.7

One can now use LenientFieldParser instead of DefaultFieldParser when a more relaxed handling
of address fields is desired.

Oleg

> AddressListParser should allow non ASCII characters in the name part of addresses
> ---------------------------------------------------------------------------------
>
>                 Key: MIME4J-181
>                 URL: https://issues.apache.org/jira/browse/MIME4J-181
>             Project: JAMES Mime4j
>          Issue Type: Improvement
>          Components: dom
>    Affects Versions: 0.7
>            Reporter: Niklas Therning
>             Fix For: 0.7
>
>         Attachments: mime4j.patch
>
>
> Seems quite common that user agents don't encode From: and Sender: fields properly. This
means that they contain non ASCII characters. E.g. "From: Håkan Öster <hakan@example.net>".
It would be nice if Mime4j could handle these addresses without a parse error at least in
non strict mode. Right now AddressListParser fails with a ParseException because it only allows
ASCII characters.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message