1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 09:42:10 +02:00

History: Store addresses with custom schemes

BUG: 406375
FIXED-IN: 23.08.5

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
Juraj Oravec 2023-12-04 21:32:20 +01:00
parent 9c5f2c1624
commit 2bce10f4c8
Signed by: SGOrava
GPG Key ID: 13660A3F1D9F093B

View File

@ -23,6 +23,7 @@
#include "mainapplication.h" #include "mainapplication.h"
#include "sqldatabase.h" #include "sqldatabase.h"
#include "webview.h" #include "webview.h"
#include "qzsettings.h"
#include <QWebEngineProfile> #include <QWebEngineProfile>
@ -74,7 +75,7 @@ void History::addHistoryEntry(const QUrl &url, QString title)
QSL("http"), QSL("https"), QSL("ftp"), QSL("file") QSL("http"), QSL("https"), QSL("ftp"), QSL("file")
}; };
if (!schemes.contains(url.scheme())) { if (!schemes.contains(url.scheme()) && !qzSettings->allowedSchemes.contains(url.scheme())) {
return; return;
} }