summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-18 12:34:46 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-18 12:34:46 (GMT)
commit4d3029e1c96ad806d6534423bb5623013654d4f1 (patch)
treeb4571ba375332760c0456f4ff60304173c0a1523
parent3271688d4f3e35a74ebd5fb8de4f517395a3c8ca (diff)
Add info about rice support
-rw-r--r--webengineviewer/src/checkphishingurl/createphishingurldatabasejob.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/webengineviewer/src/checkphishingurl/createphishingurldatabasejob.cpp b/webengineviewer/src/checkphishingurl/createphishingurldatabasejob.cpp
index 5191b00..93c24eb 100644
--- a/webengineviewer/src/checkphishingurl/createphishingurldatabasejob.cpp
+++ b/webengineviewer/src/checkphishingurl/createphishingurldatabasejob.cpp
@@ -165,6 +165,8 @@ QVector<Addition> CreatePhishingUrlDataBaseJob::parseAdditions(const QVariantLis
const QString keyStr = mapIt.key();
if (keyStr == QLatin1String("compressionType")) {
//TODO ?
+ } else if (keyStr == QLatin1String("riceHashes")) {
+ qDebug() << " CreatePhishingUrlDataBaseJob::parseAdditions need to implement riceHashes ";
} else if (keyStr == QLatin1String("rawHashes")) {
Addition tmp;
QMapIterator<QString, QVariant> rawHashesIt(mapIt.value().toMap());
@@ -212,6 +214,9 @@ QVector<Removal> CreatePhishingUrlDataBaseJob::parseRemovals(const QVariantList
const QString keyStr = mapIt.key();
if (keyStr == QLatin1String("compressionType")) {
//Add ??
+ } else if (keyStr == QLatin1String("riceIndices")) {
+ //TODO implement it.
+ qDebug() << " CreatePhishingUrlDataBaseJob::parseRemovals need to implement riceindices ";
} else if (keyStr == QLatin1String("rawIndices")) {
const QVariantMap map = mapIt.value().toMap();
QMapIterator<QString, QVariant> rawIndicesIt(map);