You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given this example dn: dn="cn=John Doe\ , o=github"
when calling ldap3.utils.dn.parse_dn(dn, strip=True) I get the error: Invalid final character.
This is because when strip=True, the space after the backslash is being removed, but the backslash is not getting removed, so the comma at the end of the RDN is getting escaped.
I believe the backslash should be removed as well.
According to ldap RFC:
The text was updated successfully, but these errors were encountered:
Given this example dn:
dn="cn=John Doe\ , o=github"
when calling
ldap3.utils.dn.parse_dn(dn, strip=True)
I get the error: Invalid final character.This is because when strip=True, the space after the backslash is being removed, but the backslash is not getting removed, so the comma at the end of the RDN is getting escaped.
I believe the backslash should be removed as well.
According to ldap RFC:
The text was updated successfully, but these errors were encountered: