]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl_url_set.3: mention CURLU_PATH_AS_IS
authorDaniel Stenberg <daniel@haxx.se>
Sun, 21 Feb 2021 12:58:47 +0000 (13:58 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 21 Feb 2021 22:25:22 +0000 (23:25 +0100)
... 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

index 9c22c3f9f094434d2c18c68bb5ce4d5624fc4a7b..6f0405992ab28e24da0acdd6fec54a18e1beb8a5 100644 (file)
@@ -5,7 +5,7 @@
 .\" *                            | (__| |_| |  _ <| |___
 .\" *                             \___|\___/|_| \_\_____|
 .\" *
-.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, 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.