You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Rick McGuire (JIRA)" <ji...@apache.org> on 2011/01/18 14:41:43 UTC

[jira] Created: (GERONIMO-5760) Wrong encoding specified in javamail providers.

Wrong encoding specified in javamail providers. 
------------------------------------------------

                 Key: GERONIMO-5760
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5760
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: mail
            Reporter: Rick McGuire
            Assignee: Rick McGuire


Dear Geronimo-Team,
I found a bug in the  geronimo-javamail_1.4_provider version 1.8.2 package.
The class org.apache.geronimo.javamail.authentication.DigestMD5Authenticator the String "US-ASCII" is used very often.
The bug is in line 275, where its written incorrect "US_ASCII". There will always be an exception  because the charset "US_ASCII" does not exist.
The String should may be written to a constant and not by hand.

The same issue may happen in the class org.apache.geronimo.javamail.store.pop3.connection.POP3Connection in line 635.

Hope it is usefull.

Your sincerely

Denis Trüby
Informationstechnik Student DHBW Lörrach
Neue Technologien

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


[jira] Resolved: (GERONIMO-5760) Wrong encoding specified in javamail providers.

Posted by "Rick McGuire (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick McGuire resolved GERONIMO-5760.
------------------------------------

    Resolution: Fixed

Committed revision 1060388.

> Wrong encoding specified in javamail providers. 
> ------------------------------------------------
>
>                 Key: GERONIMO-5760
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5760
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: mail
>            Reporter: Rick McGuire
>            Assignee: Rick McGuire
>
> Dear Geronimo-Team,
> I found a bug in the  geronimo-javamail_1.4_provider version 1.8.2 package.
> The class org.apache.geronimo.javamail.authentication.DigestMD5Authenticator the String "US-ASCII" is used very often.
> The bug is in line 275, where its written incorrect "US_ASCII". There will always be an exception  because the charset "US_ASCII" does not exist.
> The String should may be written to a constant and not by hand.
> The same issue may happen in the class org.apache.geronimo.javamail.store.pop3.connection.POP3Connection in line 635.
> Hope it is usefull.
> Your sincerely
> Denis Trüby
> Informationstechnik Student DHBW Lörrach
> Neue Technologien

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