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)" <de...@geronimo.apache.org> on 2006/03/02 14:59:41 UTC

[jira] Created: (GERONIMO-1671) InternetAddress.getLocalAddress() does not properly implement the local address resolution path.

InternetAddress.getLocalAddress() does not properly implement the local address resolution path. 
-------------------------------------------------------------------------------------------------

         Key: GERONIMO-1671
         URL: http://issues.apache.org/jira/browse/GERONIMO-1671
     Project: Geronimo
        Type: Bug
  Components: mail  
    Versions: 1.x    
    Reporter: Rick McGuire
    Priority: Minor
 Attachments: GERONIMO-1671.patch

The InternetAddress.getLocalAddress() method is not properly implementing the full address resolution path for all paths.  In particular, if a session is provided, it does not fall back to using the "user.name" system property as the last default value. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (GERONIMO-1671) InternetAddress.getLocalAddress() does not properly implement the local address resolution path.

Posted by "Jacek Laskowski (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1671?page=all ]
     
Jacek Laskowski resolved GERONIMO-1671:
---------------------------------------

    Fix Version: 1.1
     Resolution: Fixed
      Assign To: Jacek Laskowski

$ svn ci .
Sending        geronimo-spec-javamail/src/main/java/javax/mail/internet/InternetAddress.java
Sending        geronimo-spec-javamail/src/test/java/javax/mail/internet/InternetAddressTest.java
Transmitting file data ..
Committed revision 382387.

Thanks Rick!

> InternetAddress.getLocalAddress() does not properly implement the local address resolution path.
> ------------------------------------------------------------------------------------------------
>
>          Key: GERONIMO-1671
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1671
>      Project: Geronimo
>         Type: Bug
>   Components: mail
>     Versions: 1.x
>     Reporter: Rick McGuire
>     Assignee: Jacek Laskowski
>     Priority: Minor
>      Fix For: 1.1
>  Attachments: GERONIMO-1671.patch
>
> The InternetAddress.getLocalAddress() method is not properly implementing the full address resolution path for all paths.  In particular, if a session is provided, it does not fall back to using the "user.name" system property as the last default value. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1671) InternetAddress.getLocalAddress() does not properly implement the local address resolution path.

Posted by "Rick McGuire (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1671?page=all ]

Rick McGuire updated GERONIMO-1671:
-----------------------------------

    Attachment: GERONIMO-1671.patch

Patch for the code and some additional unit tests to validate the resolution path. 

> InternetAddress.getLocalAddress() does not properly implement the local address resolution path.
> ------------------------------------------------------------------------------------------------
>
>          Key: GERONIMO-1671
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1671
>      Project: Geronimo
>         Type: Bug
>   Components: mail
>     Versions: 1.x
>     Reporter: Rick McGuire
>     Priority: Minor
>  Attachments: GERONIMO-1671.patch
>
> The InternetAddress.getLocalAddress() method is not properly implementing the full address resolution path for all paths.  In particular, if a session is provided, it does not fall back to using the "user.name" system property as the last default value. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira