← Commit list

e2cb3cc78e

Daniel Stenberg
Daniel Stenberg
2026-06-07
SUCCESS Duration: 257s

Subject

CURLOPT_DISALLOW_USERNAME_IN_URL: is for CURLOPT_URL only

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

docs/libcurl/opts/CURLOPT_DISALLOW_USERNAME_IN_URL.md+4 -2
@@ -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)