summaryrefslogtreecommitdiffstats
path: root/Source/cmCurl.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-09-15 18:56:14 (GMT)
committerBrad King <brad.king@kitware.com>2021-09-15 19:03:22 (GMT)
commit63b5a6869e1793e4aeb815f220dd41419344c802 (patch)
tree8c40b2fad7932fdac83783e66aaa23af5f966e03 /Source/cmCurl.h
parentc2c1c701c7f0768c382c819b6922b134690212ba (diff)
downloadCMake-63b5a6869e1793e4aeb815f220dd41419344c802.zip
CMake-63b5a6869e1793e4aeb815f220dd41419344c802.tar.gz
CMake-63b5a6869e1793e4aeb815f220dd41419344c802.tar.bz2
cmCurl: Adopt helper to fix file:// URLs
Migrate and generalize the helper added by commit e63dcb1378 (Encoding: Use encoding libcurl expects with file: urls., 2014-11-05, v3.2.0-rc1~420^2).
Diffstat (limited to 'Source/cmCurl.h')
-rw-r--r--Source/cmCurl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmCurl.h b/Source/cmCurl.h
index fb716f8..9c1e337 100644
--- a/Source/cmCurl.h
+++ b/Source/cmCurl.h
@@ -11,3 +11,4 @@
std::string cmCurlSetCAInfo(::CURL* curl, const char* cafile = nullptr);
std::string cmCurlSetNETRCOption(::CURL* curl, const std::string& netrc_level,
const std::string& netrc_file);
+std::string cmCurlFixFileURL(std::string url);