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

RESOLVED FIXED

Status

Directory
LDAP Java SDK
P3
normal
RESOLVED FIXED
18 years ago
17 years ago

People

(Reporter: lingman, Assigned: miodrag)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
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.
(Assignee)

Comment 1

18 years ago
Reassigning the bug to myself.
Assignee: mcs → miodrag
(Assignee)

Updated

18 years ago
Status: NEW → ASSIGNED
(Assignee)

Comment 2

17 years ago
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
Last Resolved: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.