Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multivalue RDNs #14

Open
ezzadeen opened this issue Apr 23, 2020 · 1 comment
Open

Multivalue RDNs #14

ezzadeen opened this issue Apr 23, 2020 · 1 comment

Comments

@ezzadeen
Copy link

There seems to be an issue with multivalue RDNs.

let dn = rfc2253.parse('C=CA,O=ACME Co,email=[email protected]+CN=b37e5a5c');
console.log(dn.get(2).get('CN'));

This will return
undefined

But if I use console.log(dn.get(2).get('+CN')); I get the CN value. Why is the "+" required? It is supposed to be consumed.

@pluma
Copy link
Member

pluma commented May 7, 2020

This is currently a limitation of the parser. The project hasn't been touched in a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants