Skip to content
Snippets Groups Projects
Commit 244bb7b6 authored by Brad King's avatar Brad King
Browse files

Merge branch 'backport-ctest_submit-follow-redirects' into release-3.26

Merge-request: !8873
parents 091005fa ce661c43
No related branches found
No related tags found
No related merge requests found
......@@ -308,6 +308,9 @@ bool cmCTestSubmitHandler::SubmitUsingHTTP(
// specify target
::curl_easy_setopt(curl, CURLOPT_URL, upload_as.c_str());
// follow redirects
::curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
// CURLAUTH_BASIC is default, and here we allow additional methods,
// including more secure ones
::curl_easy_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment