[ 
https://issues.apache.org/jira/browse/MIME4J-253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16539527#comment-16539527
 ] 

Tellier Benoit commented on MIME4J-253:
---------------------------------------

Yes, for sure, it would be more than welcome.

A quick test on master shows me this issue had not been addressed yet.

IMO the trick would be to detect that the field value is fully quoted, and if 
so decode it. I don't think we should decode it if partially quoted (ie only in 
the mailbox name...). 

> To/From/Cc-fields containing RFC-1522 "encoded-words" for the whole value 
> fails to parse
> ----------------------------------------------------------------------------------------
>
>                 Key: MIME4J-253
>                 URL: https://issues.apache.org/jira/browse/MIME4J-253
>             Project: James Mime4j
>          Issue Type: Bug
>          Components: parser (core)
>    Affects Versions: 0.7.2, 0.8.0
>            Reporter: Andreas Joseph Krogh
>            Priority: Critical
>
> LenientAddressParser fails to pars To/Cc/From-fields where the whole 
> header-value (includeing adr-spec) is encoded using "Q" or "B"-encoding.
> Example-field
> From: =?utf-8?B?IkvDpXJlIFPDpnRyZSIgPGtzQGRvbWFpbi5jb20+?=
> Should decode to
> From: "Kåre Sætre" <[email protected]>
> but results in 
> From: =?utf-8?B?IkvDpXJlIFPDpnRyZSIgPGtzQGRvbWFpbi5jb20+?=



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to