Not all characters specified by RFC-1485 'escaped' by LDAPDN.escapeRDN

NEW
Assigned to

Status

Directory
LDAP Java SDK
15 years ago
14 years ago

People

(Reporter: John Withers, Assigned: Erhyuan Tsai)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

15 years ago
User-Agent:       Mozilla/4.0 (compatible; MSIE 5.01; Windows NT; Build 06272000)
Build Identifier: 

The DN.ESCAPED_CHAR constant does not contain the 
characters '=', '<', '>', '"', "\", '#', or "<cr>" as specified in RFC-1485.  
The result is that my application which is being moved to use the IBM SecureWay 
LDAP directory server (version 4.1) enforces this requirment.  My application 
occasionally generates RDNs that contain (in this case) the '#' character.

Reproducible: Always

Steps to Reproduce:
1.  Observer the definition of DN.ESCAPED_CHAR in 
ldapjdk/netscape/ldap/LDAPDN.java
2.
3.

Comment 1

15 years ago
-> miodrag
Assignee: mcs → miodrag

Comment 2

15 years ago
Also note that the escaping rules specified in RFC 2253 are slightly different
(but do include some of the characters that seem to be missing).
(Reporter)

Comment 3

15 years ago
Agreed, but the documentation only claims compliance with RFC-1485.

Comment 4

15 years ago
Spam for bug 129472
QA Contact: nobody → nobody

Comment 5

14 years ago
Reassign LDAP JDK bugs owned by Miodrag (miodrag@formerly-netscape.com.tld) to
E-Y (erhyuan@pacbell.net)
Assignee: miodrag → erhyuan
You need to log in before you can comment on or make changes to this bug.