geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick McGuire (JIRA)" <>
Subject [jira] Created: (GERONIMO-5760) Wrong encoding specified in javamail providers.
Date Tue, 18 Jan 2011 13:41:43 GMT
Wrong encoding specified in javamail providers. 

                 Key: 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
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.

View raw message