summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-09-15 19:00:25 (GMT)
committerBrad King <brad.king@kitware.com>2021-09-15 19:28:01 (GMT)
commit3cfd89add5551242e3d1b69aadd2c5733db4b96f (patch)
treef366e1225eb6697c7ca63aa7d173b8f2ee801b04 /Utilities
parent63b5a6869e1793e4aeb815f220dd41419344c802 (diff)
downloadCMake-3cfd89add5551242e3d1b69aadd2c5733db4b96f.zip
CMake-3cfd89add5551242e3d1b69aadd2c5733db4b96f.tar.gz
CMake-3cfd89add5551242e3d1b69aadd2c5733db4b96f.tar.bz2
cmCurl: Fix file:// URLs with spaces for curl 7.78+
Since curl 7.78, URLs with spaces that are not encoded as `%20` or `+` are now correctly rejected with `CURLUE_MALFORMED_INPUT`. However, CMake has long accepted `file://` URLs with spaces in the path due to curl 7.77 and below accidentally allowing them. Preserve this by explicitly encoding spaces in such URLs before handing them to curl. See also upstream curl commit `b67d3ba73` (curl_url_set: reject spaces in URLs w/o CURLU_ALLOW_SPACE, 2021-05-31, curl-7_78_0~133).
Diffstat (limited to 'Utilities')
0 files changed, 0 insertions, 0 deletions