mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-26 20:06:37 -08:00
fix: Matching against domain goes too far #1820
This commit is contained in:
1 parent
7f2fda0327
commit
e780f8a3f0
1 file changed
+1
-1
@@ -154,7 +154,7 @@ class SearchHelper {
|
||||
// subdomain.domain.org
|
||||
stringToCheck.endsWith(".$word", !searchParameters.caseSensitive) ||
|
||||
// https://domain.org
|
||||
stringToCheck.endsWith("\\/$word", !searchParameters.caseSensitive)
|
||||
stringToCheck.endsWith("/$word", !searchParameters.caseSensitive)
|
||||
// Don't allow mydomain.org
|
||||
})
|
||||
return true
|
||||
|
||||
Reference in new issue
Block a user