diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-01-09 22:38:22 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-01-09 22:41:51 +0100 |
commit | 0885b26005fefa62adfd3b7e52f7209693462d9f (patch) | |
tree | 81c26d33f5a4cfe53a1197baa94184bab3d73bc7 /docs | |
parent | dbde76bdd6018ba68bf7192a514e4048f014cea3 (diff) | |
download | curl-bagder/ldap-url-malformat.tar.gz |
ldap: return CURLE_URL_MALFORMAT for bad URLbagder/ldap-url-malformat
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
Diffstat (limited to 'docs')
-rw-r--r-- | docs/libcurl/libcurl-errors.3 | 4 | ||||
-rw-r--r-- | docs/libcurl/symbols-in-versions | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/libcurl/libcurl-errors.3 b/docs/libcurl/libcurl-errors.3 index 6196e8edf..9ad29e8c8 100644 --- a/docs/libcurl/libcurl-errors.3 +++ b/docs/libcurl/libcurl-errors.3 @@ -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)" diff --git a/docs/libcurl/symbols-in-versions b/docs/libcurl/symbols-in-versions index dfc8c04ec..3fcfa339a 100644 --- a/docs/libcurl/symbols-in-versions +++ b/docs/libcurl/symbols-in-versions @@ -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 |