ldap: return CURLE_URL_MALFORMAT for bad URL

For consistency, use the same return code for URL malformats,
independently of what scheme that is used. Previously this would return
CURLE_LDAP_INVALID_URL, but starting now that error cannot be returned.

Closes #8170
This commit is contained in:
Daniel Stenberg 2022-01-09 22:38:22 +01:00
parent 2a19ad473a
commit 7edb0fcf3f
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
6 changed files with 12 additions and 15 deletions

View file

@ -94,7 +94,7 @@ e58: Problem with the local SSL certificate
e59: Couldn't use specified SSL cipher
e60: SSL peer certificate or SSH remote key was not OK
e61: Unrecognized or bad HTTP Content or Transfer-Encoding
e62: Invalid LDAP URL
e62: Unknown error
e63: Maximum file size exceeded
e64: Requested SSL level failed
e65: Send failed since rewinding of the data stream failed