aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Hoover <jacob.hoover@greenheck.com>2019-08-29 12:13:16 -0500
committerRob Mensching <rob@firegiant.com>2019-09-13 07:42:41 -0700
commita4d49f0a2a8b59ae4fdfa02081c522bc0d02d21a (patch)
tree717c708196ed7f8716d634bd10de85d10f2239e9
parent1ec68f7c9925536e9f11f5f849eb812a99dfa8ce (diff)
downloadwix-a4d49f0a2a8b59ae4fdfa02081c522bc0d02d21a.tar.gz
wix-a4d49f0a2a8b59ae4fdfa02081c522bc0d02d21a.tar.bz2
wix-a4d49f0a2a8b59ae4fdfa02081c522bc0d02d21a.zip
jchoover: WIXBUG:6071 - Enable HTTP to HTTPS redirects for burn downloads.
-rw-r--r--src/dutil/dlutil.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dutil/dlutil.cpp b/src/dutil/dlutil.cpp
index 81455df0..1b30f410 100644
--- a/src/dutil/dlutil.cpp
+++ b/src/dutil/dlutil.cpp
@@ -558,7 +558,11 @@ static HRESULT OpenRequest(
558 { 558 {
559 dwRequestFlags |= INTERNET_FLAG_SECURE; 559 dwRequestFlags |= INTERNET_FLAG_SECURE;
560 } 560 }
561 561 else if (INTERNET_SCHEME_HTTP == scheme)
562 {
563 dwRequestFlags |= INTERNET_FLAG_IGNORE_REDIRECT_TO_HTTPS;
564 }
565
562 // Allocate the resource name. 566 // Allocate the resource name.
563 hr = StrAllocString(&sczResource, wzResource, 0); 567 hr = StrAllocString(&sczResource, wzResource, 0);
564 ExitOnFailure(hr, "Failed to allocate string for resource URI."); 568 ExitOnFailure(hr, "Failed to allocate string for resource URI.");