geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Utkin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-3842) Incorrect Subject header encoding for long non-ascii line
Date Wed, 13 Feb 2008 18:43:08 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-3842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568661#action_12568661
] 

Andrey Utkin commented on GERONIMO-3842:
----------------------------------------

Thanks for fix. Will this fix  be included in G2.1?

> Incorrect Subject header encoding for long non-ascii line
> ---------------------------------------------------------
>
>                 Key: GERONIMO-3842
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3842
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: mail
>    Affects Versions: 2.0.2
>            Reporter: Andrey Utkin
>            Assignee: Rick McGuire
>         Attachments: G3842Sample.java
>
>
> Method MimeMessage.setSubject(subj, enc) when "subj" long enough and includes non-ascii
characters  produce incorrect Subject header.
> Using "subj":
> {code}
> Проверка. Достаточно длинная тема пиьма. Проверка.
Проверка.
> {code}
> "enc": UTF-8
> Subject header looks like:
> {code}
> Subject:      =?UTF-8?B?0J/RgNC+0LLQtdGA0LrQsC4g0JTQvtGB0YLQsNGC0L7Rh9C90L4g0LTQu9C40L3Q?==?UTF-8?B?vdCw0Y8g0YLQtdC80LAg0L/QuNGM0LzQsC4g0J/RgNC+0LLQtdGA0LrQsC4g0J/R?==?UTF-8?B?gNC+0LLQtdGA0LrQsC4=?=
> {code}
> So, there is none line breaks (folding) near "?==?UTF-8?". 
> There is a lot of mail clients which can`t parse this header correctly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message