| Index: src/plugin/PluginWbPassThrough.cpp |
| =================================================================== |
| --- a/src/plugin/PluginWbPassThrough.cpp |
| +++ b/src/plugin/PluginWbPassThrough.cpp |
| @@ -188,10 +188,9 @@ |
| else |
| #endif // SUPPORT_FRAME_CACHING |
| contentType = GetContentType(mimeType, boundDomain, src); |
| - if (client->ShouldBlock(src, contentType, boundDomain, true)) |
| + if (client->ShouldBlock(to_wstring(src), contentType, to_wstring(boundDomain), true)) |
| { |
| isBlocked = true; |
| - |
| DEBUG_BLOCKER("Blocker::Blocking Http-request:" + src); |
| } |
| } |
| @@ -205,7 +204,7 @@ |
| if (tab == NULL) |
| { |
| contentType = GetContentType(mimeType, boundDomain, src); |
| - if (client->ShouldBlock(src, contentType, boundDomain, true)) |
| + if (client->ShouldBlock(to_wstring(src), contentType, to_wstring(boundDomain), true)) |
| { |
| isBlocked = true; |
| } |