From 2a5d6a5502135a0dc8cc2c074a3913ba34c84440 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 7 Aug 2026 11:41:16 +0200 Subject: [PATCH] curl_url_set.md: expand the CURLU_NO_AUTHORITY description Closes #22515 --- docs/libcurl/curl_url_set.md | 4 ++++ 1 file changed, 4 insertions(+) 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