diff options
author | Dirk Brenken <dev@brenken.org> | 2020-04-14 19:44:58 +0200 |
---|---|---|
committer | Dirk Brenken <dev@brenken.org> | 2020-04-14 19:44:58 +0200 |
commit | e7cb6efb5a2c147fb00b5dd97651099a60da9bd3 (patch) | |
tree | c78d7d36074e7cc25c6e87e15b172d19482f8539 /applications/luci-app-adblock/htdocs/luci-static/resources/view | |
parent | 0705657747e31a0884ee7268515f04ee2684ae8e (diff) |
luci-app-adblock: accept capital letters in DNS filter
Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-adblock/htdocs/luci-static/resources/view')
-rw-r--r-- | applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/dnsreport.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/dnsreport.js b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/dnsreport.js index 72823f0287..a32510f95b 100644 --- a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/dnsreport.js +++ b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/dnsreport.js @@ -165,7 +165,7 @@ function handleAction(ev) { 'id': 'refresh', 'click': ui.createHandlerFn(this, async function(ev) { var count = document.getElementById('count').value; - var search = document.getElementById('search').value.trim().replace(/[^a-z0-9\.\-\:]/g,'') || '+'; + var search = document.getElementById('search').value.trim().replace(/[^\w\.\-\:]/g,'') || '+'; L.resolveDefault(fs.exec_direct('/etc/init.d/adblock', ['report', search, count, 'true', 'json']),''); var running = 1; while (running === 1) { |