summaryrefslogtreecommitdiff
path: root/src/adblock
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-09-01 12:48:48 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-09-01 12:48:48 +0200
commita88d2a6c5156f020d4cc34c54650ace6b9d0be4e (patch)
treeb50f78e74d0305ba80257db32ed1825bf2a38056 /src/adblock
parentFix bk icons. (diff)
downloadrekonq-a88d2a6c5156f020d4cc34c54650ace6b9d0be4e.tar.xz
This should improve adblock retrieving by NOT asking for SSL confirmations
Diffstat (limited to 'src/adblock')
-rw-r--r--src/adblock/adblockmanager.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/adblock/adblockmanager.cpp b/src/adblock/adblockmanager.cpp
index f7c61cdb..0d348f82 100644
--- a/src/adblock/adblockmanager.cpp
+++ b/src/adblock/adblockmanager.cpp
@@ -275,6 +275,12 @@ void AdBlockManager::updateNextSubscription()
KUrl subUrl = KUrl(urlString);
KIO::TransferJob* job = KIO::get(subUrl , KIO::Reload , KIO::HideProgressInfo);
+ job->metaData().insert("ssl_no_client_cert", "TRUE");
+ job->metaData().insert("ssl_no_ui", "TRUE");
+ job->metaData().insert("UseCache", "false");
+ job->metaData().insert("cookies", "none");
+ job->metaData().insert("no-auth", "true");
+
connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)), this, SLOT(subscriptionData(KIO::Job*, const QByteArray&)));
connect(job, SIGNAL(result(KJob*)), this, SLOT(slotResult(KJob*)));