Server: Improve URL match

This commit is contained in:
Gregory Soutade
2023-12-03 10:08:57 +01:00
parent 129335dc2d
commit b8223a87ad
2 changed files with 3 additions and 4 deletions

View File

@@ -121,7 +121,6 @@ function clear_form()
inputs[i].type == "password")
inputs[i].value = "";
}
chkPass("");
}
function url_domain(data) {
@@ -458,7 +457,7 @@ function password_filter_changed()
target_url = elem.value.replace('*', '') ;
try {
if (target_url.match(filter))
if (target_url.match(filter) || filter.match(target_url))
password_div.appendChild(div);
}
/* Forgive re errors */