mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-02 03:20:06 +00:00
win32: added a flag to ignore https certificate mismatches.
This commit is contained in:
parent
03f568fab2
commit
a4939b87f2
1 changed files with 2 additions and 1 deletions
|
|
@ -295,7 +295,8 @@ private:
|
|||
{
|
||||
const TCHAR* mimeTypes[] = { _T("*/*"), 0 };
|
||||
|
||||
DWORD flags = INTERNET_FLAG_RELOAD | INTERNET_FLAG_NO_CACHE_WRITE | INTERNET_FLAG_NO_COOKIES;
|
||||
DWORD flags = INTERNET_FLAG_RELOAD | INTERNET_FLAG_NO_CACHE_WRITE
|
||||
| INTERNET_FLAG_NO_COOKIES | INTERNET_FLAG_IGNORE_CERT_CN_INVALID;
|
||||
|
||||
if (address.startsWithIgnoreCase ("https:"))
|
||||
flags |= INTERNET_FLAG_SECURE; // (this flag only seems necessary if the OS is running IE6 -
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue