curl_url_set.3: document CURLU_DISALLOW_USER

Closes #10099
This commit is contained in:
Daniel Stenberg 2022-12-15 10:30:51 +01:00
parent 5de6848f10
commit af0924210b
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View 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;