From: Daniel Stenberg Date: Fri, 7 Aug 2026 09:41:16 +0000 (+0200) Subject: curl_url_set.md: expand the CURLU_NO_AUTHORITY description X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;ds=inline;p=thirdparty%2Fcurl.git curl_url_set.md: expand the CURLU_NO_AUTHORITY description Closes #22515 --- diff --git a/docs/libcurl/curl_url_set.md b/docs/libcurl/curl_url_set.md index 2fa31123f1..35ed109fcd 100644 --- a/docs/libcurl/curl_url_set.md +++ b/docs/libcurl/curl_url_set.md @@ -224,6 +224,10 @@ host part (normally the only mandatory part of the authority), but libcurl cannot know whether this is permitted for custom schemes. Specifying the flag permits empty authority sections, similar to how file scheme is handled. +This option also makes libcurl accept and parse URLs with known schemes even +when they have no hostnames. URLs such as `https://` and `ftp://` otherwise +cause parse errors by default. + ## CURLU_PATH_AS_IS When set for **CURLUPART_URL**, this skips the normalization of the