mirror of
https://github.com/curl/curl.git
synced 2026-08-26 07:13:32 +03:00
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:
parent
2a19ad473a
commit
7edb0fcf3f
6 changed files with 12 additions and 15 deletions
|
|
@ -5,7 +5,7 @@
|
|||
.\" * | (__| |_| | _ <| |___
|
||||
.\" * \___|\___/|_| \_\_____|
|
||||
.\" *
|
||||
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
.\" * Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
.\" *
|
||||
.\" * This software is licensed as described in the file COPYING, which
|
||||
.\" * you should have received as part of this distribution. The terms
|
||||
|
|
@ -185,7 +185,7 @@ previous value was 51.
|
|||
.IP "CURLE_BAD_CONTENT_ENCODING (61)"
|
||||
Unrecognized transfer encoding.
|
||||
.IP "CURLE_LDAP_INVALID_URL (62)"
|
||||
Invalid LDAP URL.
|
||||
This error code is deprecated since 7.82.0 and cannot be returned anymore.
|
||||
.IP "CURLE_FILESIZE_EXCEEDED (63)"
|
||||
Maximum file size exceeded.
|
||||
.IP "CURLE_USE_SSL_FAILED (64)"
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ CURLE_HTTP_RANGE_ERROR 7.1 7.17.0
|
|||
CURLE_HTTP_RETURNED_ERROR 7.10.3
|
||||
CURLE_INTERFACE_FAILED 7.12.0
|
||||
CURLE_LDAP_CANNOT_BIND 7.1
|
||||
CURLE_LDAP_INVALID_URL 7.10.8
|
||||
CURLE_LDAP_INVALID_URL 7.10.8 7.82.0
|
||||
CURLE_LDAP_SEARCH_FAILED 7.1
|
||||
CURLE_LIBRARY_NOT_FOUND 7.1 7.17.0
|
||||
CURLE_LOGIN_DENIED 7.13.1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue