mirror of
https://github.com/curl/curl.git
synced 2026-08-02 17:10:29 +03:00
CURLOPT_DISALLOW_USERNAME_IN_URL: is for CURLOPT_URL only
Closes #21890
This commit is contained in:
parent
7bb7b2c2a4
commit
e2cb3cc78e
1 changed files with 4 additions and 2 deletions
|
|
@ -29,12 +29,14 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_DISALLOW_USERNAME_IN_URL,
|
||||||
|
|
||||||
# DESCRIPTION
|
# DESCRIPTION
|
||||||
|
|
||||||
A long parameter set to 1 tells the library to not allow URLs that include a
|
A long parameter set to 1 tells the library to not allow URLs set with
|
||||||
username.
|
CURLOPT_URL(3) that include a username.
|
||||||
|
|
||||||
This is the equivalent to the *CURLU_DISALLOW_USER* flag for the
|
This is the equivalent to the *CURLU_DISALLOW_USER* flag for the
|
||||||
curl_url_set(3) function.
|
curl_url_set(3) function.
|
||||||
|
|
||||||
|
Note that this option does not affect URLs set with CURLOPT_CURLU(3).
|
||||||
|
|
||||||
# DEFAULT
|
# DEFAULT
|
||||||
|
|
||||||
0 (disabled)
|
0 (disabled)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue