From 1d223627411a0622cec53b545c0bd3f4972443ce Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Thu, 13 Dec 2018 11:45:43 +0100 Subject: [PATCH] [ROSAUTOTEST] Allow transparent redirection to HTTPS URLs ONLINE-855 --- modules/rostests/rosautotest/CWebService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rostests/rosautotest/CWebService.cpp b/modules/rostests/rosautotest/CWebService.cpp index 5d1e03ab076..c3c1605bf9e 100644 --- a/modules/rostests/rosautotest/CWebService.cpp +++ b/modules/rostests/rosautotest/CWebService.cpp @@ -69,7 +69,7 @@ CWebService::DoRequest(const string& InputData) DWORD DataLength; /* Post our test results to the web service */ - m_hHTTPRequest = HttpOpenRequestW(m_hHTTP, L"POST", szServerFile, NULL, NULL, NULL, INTERNET_FLAG_NO_COOKIES | INTERNET_FLAG_RELOAD | INTERNET_FLAG_NO_CACHE_WRITE, 0); + m_hHTTPRequest = HttpOpenRequestW(m_hHTTP, L"POST", szServerFile, NULL, NULL, NULL, INTERNET_FLAG_IGNORE_REDIRECT_TO_HTTPS | INTERNET_FLAG_NO_COOKIES | INTERNET_FLAG_RELOAD | INTERNET_FLAG_NO_CACHE_WRITE, 0); if(!m_hHTTPRequest) FATAL("HttpOpenRequestW failed\n");