Skip to content

Semi colon is not treated as RDN separator #351

Closed
@shaiacs

Description

@shaiacs

A DN may contain RDNs that are separated by semi colons. Looks like the current code doesn't handle this correctly.
I believe this can be fixed by changing the following lines in Dn.parseDn method:
Line 104 from:
case char == ',' || char == '+':
to:
case char == ',' || char == '+' || char == ';':

Line 112 from:
if char == ',' {
to:
if char == ',' || char == ';' {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions