Closed rwinch closed 9 years ago
Rob Winch said:
The effect is the quotes have been converted from delimiters to part of the value.
I don't understand why you feel like this is a bug. If you do not want the quotes as part of the value, do not include the quotes.
If we change this behavior, how would someone express that they wanted quotes in the value?
Migrated from LDAP-296
The DistinguishedName class incorrectly parses DNs that use the quotes around a value to handle special characters. According to the last paragraph in section 4 of RFC 2253:
The following code:
Prints out:
The effect is the quotes have been converted from delimiters to part of the value.
I think it would be fine if it normalized the DN to the preferred method of handling special characters -- escaping them.