Server: Improve URL match
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user