From af0924210bef6bc775b452c7bfece26d2bc00346 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 15 Dec 2022 10:30:51 +0100 Subject: [PATCH] curl_url_set.3: document CURLU_DISALLOW_USER Closes #10099 --- docs/libcurl/curl_url_set.3 | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.47.3