Index: src/plugin/PluginWbPassThrough.cpp |
=================================================================== |
--- a/src/plugin/PluginWbPassThrough.cpp |
+++ b/src/plugin/PluginWbPassThrough.cpp |
@@ -133,14 +133,14 @@ |
CString boundDomain; |
CString mimeType; |
+ LPOLESTR mime[10]; |
if (pOIBindInfo) |
{ |
ULONG resLen = 0; |
- LPOLESTR mime = 0; |
- pOIBindInfo->GetBindString(BINDSTRING_ACCEPT_MIMES, &mime, 1, &resLen); |
+ pOIBindInfo->GetBindString(BINDSTRING_ACCEPT_MIMES, mime, 10, &resLen); |
Oleksandr
2014/04/29 08:56:51
Apparently IE will report random mime type if ther
Eric
2014/05/01 15:04:53
This behavior belongs in a comment, since it's cer
|
if (mime && resLen > 0) |
{ |
- mimeType.SetString(mime); |
+ mimeType.SetString(mime[0]); |
} |
LPOLESTR bindToObject = 0; |
pOIBindInfo->GetBindString(BINDSTRING_FLAG_BIND_TO_OBJECT, &bindToObject, 1, &resLen); |