Skip to content

ldap: return CURLE_URL_MALFORMAT for bad URL#8170

Closed
bagder wants to merge 1 commit into
masterfrom
bagder/ldap-url-malformat
Closed

ldap: return CURLE_URL_MALFORMAT for bad URL#8170
bagder wants to merge 1 commit into
masterfrom
bagder/ldap-url-malformat

Conversation

@bagder

@bagder bagder commented Dec 20, 2021

Copy link
Copy Markdown
Member

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.

@bagder bagder added feature-window A merge of this requires an open feature window LDAP URL libcurl API labels Dec 20, 2021
Comment thread docs/libcurl/libcurl-errors.3
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
@bagder bagder force-pushed the bagder/ldap-url-malformat branch from b329aa2 to 0885b26 Compare January 9, 2022 21:42
@bagder bagder closed this in 7edb0fc Jan 10, 2022
@bagder bagder deleted the bagder/ldap-url-malformat branch January 10, 2022 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature-window A merge of this requires an open feature window LDAP libcurl API URL

Development

Successfully merging this pull request may close these issues.

2 participants