Last Comment Bug 34326 - LDAPDN.unEscapeRDN removes all /'s - not just the escape characters
: LDAPDN.unEscapeRDN removes all /'s - not just the escape characters
Product: Directory
Classification: Components
Component: LDAP Java SDK (show other bugs)
: other
: x86 Windows NT
P3 normal (vote)
: ---
Assigned To: miodrag
Depends on:
  Show dependency treegraph
Reported: 2000-04-03 12:03 PDT by lingman
Modified: 2000-05-06 13:10 PDT (History)
0 users
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---


Description User image lingman 2000-04-03 12:03:46 PDT
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.
Comment 1 User image miodrag 2000-04-03 14:09:38 PDT
Reassigning the bug to myself.
Comment 2 User image miodrag 2000-05-06 13:10:30 PDT
The fix has been checked in 05-06-00.

Checking in ldapjdk/netscape/ldap/;
/cvsroot/mozilla/directory/java-sdk/ldapjdk/netscape/ldap/,v  <--  LD
new revision: 1.5; previous revision: 1.4

Note You need to log in before you can comment on or make changes to this bug.