 Issue 29331669:
  Issue 3237 - Whitelisted AFS ad is not shown on netzwelt.de  (Closed)
    
  
    Issue 29331669:
  Issue 3237 - Whitelisted AFS ad is not shown on netzwelt.de  (Closed) 
  | Index: src/plugin/PluginWbPassThrough.cpp | 
| =================================================================== | 
| --- a/src/plugin/PluginWbPassThrough.cpp | 
| +++ b/src/plugin/PluginWbPassThrough.cpp | 
| @@ -146,6 +146,13 @@ | 
| { | 
| if (mimeType.find(L"image/") != std::wstring::npos) | 
| { | 
| + // Ambivalent mime type suggests both image and other types. | 
| + // Heuristically this is more likely a SUBDOCUMENT request. | 
| + if ((mimeType.find(L"text/") != std::wstring::npos) || | 
| 
sergei
2015/12/01 10:53:59
In IE11 on my machine Accept header for "subdocume
 
Eric
2015/12/01 20:32:57
We don't have anything like a crawler for IE, but
 
Oleksandr
2015/12/15 02:10:16
I have only been able to log 2 types here:
text/ht
 
Eric
2015/12/15 03:18:18
These are the strings I'd like to see in a comment
 | 
| + (mimeType.find(L"application/") != std::wstring::npos)) | 
| + { | 
| + return ContentType::CONTENT_TYPE_SUBDOCUMENT; | 
| + } | 
| return ContentType::CONTENT_TYPE_IMAGE; | 
| } | 
| if (mimeType.find(L"text/css") != std::wstring::npos) |