mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-20 04:34:29 -04:00
Only check for scheme matches when an entry has a scheme (#2426)
This commit is contained in:
parent
f31d65bdaf
commit
c9cab250c7
1 changed files with 1 additions and 1 deletions
|
@ -397,7 +397,7 @@ QList<Entry*> BrowserService::searchEntries(Database* db, const QString& hostnam
|
||||||
|
|
||||||
// Ignore entry if port or scheme defined in the URL doesn't match
|
// Ignore entry if port or scheme defined in the URL doesn't match
|
||||||
if ((entryQUrl.port() > 0 && entryQUrl.port() != qUrl.port()) ||
|
if ((entryQUrl.port() > 0 && entryQUrl.port() != qUrl.port()) ||
|
||||||
(browserSettings()->matchUrlScheme() && entryScheme.compare(qUrl.scheme()) != 0)) {
|
(browserSettings()->matchUrlScheme() && !entryScheme.isEmpty() && entryScheme.compare(qUrl.scheme()) != 0)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue