mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Prevent using URL wildcards in TLD
This commit is contained in:
committed by
Jonathan White
parent
9ba6ada266
commit
0b5ae1775c
@@ -158,6 +158,10 @@ void TestUrlTools::testIsUrlValidWithLooseComparison()
|
||||
urls["*.com/"] = false;
|
||||
urls["*.com/*"] = false;
|
||||
urls["**.com/**"] = false;
|
||||
urls["*.*"] = false;
|
||||
urls["https://example.*"] = false;
|
||||
urls["https://*.example.*"] = false;
|
||||
urls["https://example.c*"] = false;
|
||||
|
||||
QHashIterator<QString, bool> i(urls);
|
||||
while (i.hasNext()) {
|
||||
|
||||
Reference in New Issue
Block a user