Skip to content

Commit 4bff6a4

Browse files
committed
Re-enable FTP support for curl
1 parent bab3f94 commit 4bff6a4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cmake/FindLibCURL.cmake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ function(get_libcurl)
5454
set(CURL_ENABLE_SSL ON)
5555
endif()
5656

57-
# vcpkg tool only needs HTTP(S) downloads; disable other protocols and
58-
# high-surface features in the embedded libcurl to reduce attack surface.
59-
# Keep FILE support in case file:// URLs are ever needed.
60-
set(CURL_DISABLE_FTP ON)
57+
# vcpkg tool only needs HTTP(S) downloads and uploads (including FTP).
58+
# Disable other protocols and high-surface features in the embedded libcurl
59+
# to reduce the attack surface.
60+
# Keep FILE support enabled for file:// URLs if ever needed.
6161
set(CURL_DISABLE_GOPHER ON)
6262
set(CURL_DISABLE_IMAP ON)
6363
set(CURL_DISABLE_IPFS ON)

0 commit comments

Comments
 (0)