]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl_url_set.3: document CURLU_DISALLOW_USER
authorDaniel Stenberg <daniel@haxx.se>
Thu, 15 Dec 2022 09:30:51 +0000 (10:30 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 15 Dec 2022 11:38:57 +0000 (12:38 +0100)
Closes #10099

docs/libcurl/curl_url_set.3

index 46a9ce50fa3c31f86108464d4b0ef8abd520df5a..6f458959b596c40fb668efe83d6b39cf73e872f9 100644 (file)
@@ -147,6 +147,10 @@ When space is used and allowed in a URL, it will be stored as-is unless
 space before stored. This affects how the URL will be constructed when
 \fIcurl_url_get(3)\fP is subsequently used to extract the full URL or
 individual parts. (Added in 7.78.0)
+.IP CURLU_DISALLOW_USER
+If set, the URL parser will not accept embedded credentials for the
+\fBCURLUPART_URL\fP, and will instead return \fBCURLUE_USER_NOT_ALLOWED\fP for
+such URLs.
 .SH EXAMPLE
 .nf
   CURLUcode rc;