Skip to content

Quote ldap uri

godog requested to merge quote-uri into master

python-ldap in Bullseye fails to parse the file path unless it is quoted:

>>> a = ldapurl.LDAPUrl('ldapi://%2fvar%2ffoo')
>>> a.hostport
'/var/foo'
>>> a = ldapurl.LDAPUrl('ldapi:///var/foo')
>>> a.hostport
''

cc ai3/prod#214

Edited by godog

Merge request reports

Loading