mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-06 22:19:00 -04:00
Don't mark cmd:// urls as invalid
* Due to the complexity of cmd:// type url's, avoid trying to parse them for validity once the initial scheme is entered. * Fixes #4138
This commit is contained in:
parent
460732097c
commit
9da07f2f66
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ namespace Tools
|
||||||
|
|
||||||
bool checkUrlValid(const QString& urlField)
|
bool checkUrlValid(const QString& urlField)
|
||||||
{
|
{
|
||||||
if (urlField.isEmpty()) {
|
if (urlField.isEmpty() || urlField.startsWith("cmd://", Qt::CaseInsensitive)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue