issues@javamail.java.net

[Bug 5257] New: parse() method removes quotes from personal name when parsing in InternetAddress

From: <bugzilla-daemon_at_kenai.com>
Date: Tue, 17 Jul 2012 14:35:39 +0000

http://kenai.com/bugzilla/show_bug.cgi?id=5257

             Bug #: 5257
           Summary: parse() method removes quotes from personal name when
                    parsing in InternetAddress
    Classification: Unclassified
           Product: javamail
           Version: 1.4.5
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: internet
        AssignedTo: shannon_at_kenai.com
        ReportedBy: Tinkerer_at_kenai.com
                CC: issues_at_javamail.kenai.com


The parse() method in
\mail\src\main\java\javax\mail\internet\InternetAddress.java(669) *always*
removes surrounding quotes in personal name by calling unquote() in line 1071.
Can this behaviour be changed to be over-ridden by an API user via some extra
flag, params, etc?

As a user of the parse() method in javamail 1.4.5 and needing to keep the
quotes around my personal name (eg. "ID=123456789" <johndoe_at_mydomain.com>) for
some special configuration reasons (dial-out, etc) what are my options?

-- 
Configure bugmail: http://kenai.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.