From: Daniel Stenberg Date: Sun, 7 Jun 2026 12:48:50 +0000 (+0200) Subject: CURLOPT_DISALLOW_USERNAME_IN_URL: is for CURLOPT_URL only X-Git-Tag: rc-8_21_0-2~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e2cb3cc78ec9eeff2b3f2fccdb938aa2dd704edb;p=thirdparty%2Fcurl.git CURLOPT_DISALLOW_USERNAME_IN_URL: is for CURLOPT_URL only Closes #21890 --- diff --git a/docs/libcurl/opts/CURLOPT_DISALLOW_USERNAME_IN_URL.md b/docs/libcurl/opts/CURLOPT_DISALLOW_USERNAME_IN_URL.md index 7435f98668..e896b8b685 100644 --- a/docs/libcurl/opts/CURLOPT_DISALLOW_USERNAME_IN_URL.md +++ b/docs/libcurl/opts/CURLOPT_DISALLOW_USERNAME_IN_URL.md @@ -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)