From: Daniel Stenberg Date: Thu, 15 Dec 2022 09:30:51 +0000 (+0100) Subject: curl_url_set.3: document CURLU_DISALLOW_USER X-Git-Tag: curl-7_87_0~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=af0924210bef6bc775b452c7bfece26d2bc00346;p=thirdparty%2Fcurl.git curl_url_set.3: document CURLU_DISALLOW_USER Closes #10099 --- diff --git a/docs/libcurl/curl_url_set.3 b/docs/libcurl/curl_url_set.3 index 46a9ce50fa..6f458959b5 100644 --- a/docs/libcurl/curl_url_set.3 +++ b/docs/libcurl/curl_url_set.3 @@ -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;