Closed
Bug 473351
Opened 16 years ago
Closed 2 years ago
nsLDAPURL/LDAP c-sdk don't allow for empty urls to be created
Categories
(Directory :: LDAP XPCOM SDK, defect)
Directory
LDAP XPCOM SDK
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1729862
People
(Reporter: standard8, Unassigned)
Details
Currently to create an nsLDAPURL via the IOService, you have to pass it a uri of: ldap://localhost/dc=??? This isn't ideal, ldap://localhost would be better. The issue is that nsLDAPURL uses SetPathInternal for the path, which calls ldap_url_parse which requires there is at least a dc= option on the url, so if you call it without a path, an exception is thrown.
Updated•2 years ago
|
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•