mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Merge branch 'master' of gitorious.org:goldendict/goldendict
This commit is contained in:
commit
74ff3b80b5
|
@ -88,7 +88,7 @@ QNetworkReply * ArticleNetworkAccessManager::createRequest( Operation op,
|
||||||
// getHostBase( refererUrl ).toUtf8().data() );
|
// getHostBase( refererUrl ).toUtf8().data() );
|
||||||
|
|
||||||
if ( !req.url().host().endsWith( refererUrl.host() ) &&
|
if ( !req.url().host().endsWith( refererUrl.host() ) &&
|
||||||
getHostBase( req.url() ) != getHostBase( refererUrl ) )
|
getHostBase( req.url() ) != getHostBase( refererUrl ) && !req.url().scheme().startsWith("data") )
|
||||||
{
|
{
|
||||||
printf( "Blocking element %s\n", req.url().toEncoded().data() );
|
printf( "Blocking element %s\n", req.url().toEncoded().data() );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue