From 659b05df6a69eeb66c9ee6b821b8ce0c3e3e1d51 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 21 Feb 2021 13:58:47 +0100 Subject: [PATCH] curl_url_set.3: mention CURLU_PATH_AS_IS ... it has been supported since the URL API was added. Bug: https://curl.se/mail/lib-2021-02/0046.html Closes #6638 --- docs/libcurl/curl_url_set.3 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/libcurl/curl_url_set.3 b/docs/libcurl/curl_url_set.3 index 9c22c3f9f0..6f0405992a 100644 --- a/docs/libcurl/curl_url_set.3 +++ b/docs/libcurl/curl_url_set.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, , et al. +.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, , et al. .\" * .\" * This software is licensed as described in the file COPYING, which .\" * you should have received as part of this distribution. The terms @@ -117,7 +117,11 @@ If set, skips authority checks. The RFC allows individual schemes to omit the 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. - +.IP CURLU_PATH_AS_IS +When set for \fBCURLUPART_URL\fP, this makes libcurl skip the normalization of +the path. That's the procedure where curl otherwise removes sequences of +dot-slash and dot-dot etc. The same option used for transfers is called +\fICURLOPT_PATH_AS_IS(3)\fP. .SH RETURN VALUE Returns a CURLUcode error value, which is CURLUE_OK (0) if everything went fine.