curl_url_set.md: document HOST handling when URL is parsed
When a full URL is set (parsed), the hostname component is stored URL decoded (with default zero flags). While perhaps surprising and inconsistent, the API has done this for quite some time already and changigtn this now would break existing behaviour. Fixes #14942 Reported-by: Venkat Krishna R Closes #14946
This commit is contained in:
parent
6d0a48e586
commit
c0a9db8424
@ -91,6 +91,8 @@ it does not recognize.
|
||||
Unless *CURLU_NO_AUTHORITY* is set, a blank hostname is not allowed in
|
||||
the URL.
|
||||
|
||||
When a full URL is set (parsed), the hostname component is stored URL decoded.
|
||||
|
||||
## CURLUPART_SCHEME
|
||||
|
||||
Scheme cannot be URL decoded on set. libcurl only accepts setting schemes up
|
||||
|
||||
Loading…
Reference in New Issue
Block a user