Closed Bug 34326 Opened 25 years ago Closed 25 years ago

LDAPDN.unEscapeRDN removes all /'s - not just the escape characters

Categories

(Directory Graveyard :: LDAP Java SDK, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lingman, Assigned: miodrag)

Details

Given an escaped RDN of \\new, you would expect the unescaped RDN to be \new. However, the code in the LDAPDN class blindly removes all \s from the RDN. Impact is that RDNs like Ethernet 10/10 and Ethernet 101/0 both are converted to Ethernet 1010, which is a bad thing.
Reassigning the bug to myself.
Assignee: mcs → miodrag
Status: NEW → ASSIGNED
The fix has been checked in 05-06-00. Checking in ldapjdk/netscape/ldap/LDAPDN.java; /cvsroot/mozilla/directory/java-sdk/ldapjdk/netscape/ldap/LDAPDN.java,v <-- LD APDN.java new revision: 1.5; previous revision: 1.4
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.