[ROSAUTOTEST] Allow transparent redirection to HTTPS URLs
authorPierre Schweitzer <pierre@reactos.org>
Thu, 13 Dec 2018 10:45:43 +0000 (11:45 +0100)
committerPierre Schweitzer <pierre@reactos.org>
Thu, 13 Dec 2018 10:45:43 +0000 (11:45 +0100)
ONLINE-855

modules/rostests/rosautotest/CWebService.cpp

index 5d1e03a..c3c1605 100644 (file)
@@ -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");