Accept kdbx:// urls in Edit Entry view

This commit is contained in:
varjolintu 2021-12-12 16:19:10 +02:00 committed by Jonathan White
parent cd642e7fee
commit 7efaca6fbe

View File

@ -270,6 +270,7 @@ namespace Tools
bool checkUrlValid(const QString& urlField)
{
if (urlField.isEmpty() || urlField.startsWith("cmd://", Qt::CaseInsensitive)
|| urlField.startsWith("kdbx://", Qt::CaseInsensitive)
|| urlField.startsWith("{REF:A", Qt::CaseInsensitive)) {
return true;
}