DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41570>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41570

           Summary: RFC2253 Java Parser
           Product: Security
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: Signature
        AssignedTo: security-dev@xml.apache.org
        ReportedBy: [EMAIL PROTECTED]


>From RFC2253 - Section 5 (http://www.ietf.org/rfc/rfc2253.txt), we could read:
"This example shows the method of quoting of a comma in an organization name:
   CN=L. Eagle,O=Sue\, Grabbit and Runn,C=GB"
 
But this java code does not produce the good result (the comma character of the 
organization name value is not protected by a quote in the OUTPUT of the 
RFC2253 parser):
-----------------------------
String dn = "CN=L. Eagle,O=Sue, Grabbit and Runn,C=GB";
System.out.println("INPUT: " + dn);
System.out.println("OUTPUT: " + RFC2253Parser.normalize(dn));
----------------------------

The "normalize" static method of the org.apache.xml.security.utils.RFC2253 
class does not work depending on the RFC2253 standard.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to