]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLOPT_DISALLOW_USERNAME_IN_URL: is for CURLOPT_URL only
authorDaniel Stenberg <daniel@haxx.se>
Sun, 7 Jun 2026 12:48:50 +0000 (14:48 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 7 Jun 2026 21:09:56 +0000 (23:09 +0200)
Closes #21890

docs/libcurl/opts/CURLOPT_DISALLOW_USERNAME_IN_URL.md

index 7435f986684076b37b13dd08669158b9c378fc1e..e896b8b685ba035745543dddc86d30aeb9a42eae 100644 (file)
@@ -29,12 +29,14 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_DISALLOW_USERNAME_IN_URL,
 
 # DESCRIPTION
 
-A long parameter set to 1 tells the library to not allow URLs that include a
-username.
+A long parameter set to 1 tells the library to not allow URLs set with
+CURLOPT_URL(3) that include a username.
 
 This is the equivalent to the *CURLU_DISALLOW_USER* flag for the
 curl_url_set(3) function.
 
+Note that this option does not affect URLs set with CURLOPT_CURLU(3).
+
 # DEFAULT
 
 0 (disabled)