summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-adblock
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2020-04-14 19:44:58 +0200
committerDirk Brenken <dev@brenken.org>2020-04-14 19:44:58 +0200
commite7cb6efb5a2c147fb00b5dd97651099a60da9bd3 (patch)
treec78d7d36074e7cc25c6e87e15b172d19482f8539 /applications/luci-app-adblock
parent0705657747e31a0884ee7268515f04ee2684ae8e (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')
-rw-r--r--applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/dnsreport.js2
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 72823f028..a32510f95 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) {