adblock: release 4.5.3-1

* refine the domain validator regarding prefix handling, esp.
  relevant for ABP-syntax
* adapted the adguard feed to make use of the new prefix handling
* LuCI: various fixes & optimizations

Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
Dirk Brenken
2026-03-15 19:16:44 +01:00
parent d7ab0cab42
commit 27c44bf735
3 changed files with 5 additions and 5 deletions

View File

@@ -6,8 +6,8 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=adblock
PKG_VERSION:=4.5.2
PKG_RELEASE:=4
PKG_VERSION:=4.5.3
PKG_RELEASE:=1
PKG_LICENSE:=GPL-3.0-or-later
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>

View File

@@ -7,7 +7,7 @@
},
"adguard": {
"url": "https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt",
"rule": "feed 3 [|^]",
"rule": "feed || 3 [|^]",
"size": "L",
"descr": "general"
},

View File

@@ -284,7 +284,7 @@ f_chkdom() {
# add www. for google safe search
if (type=="google" && domain ~ /^\.+/) { sub(/^\.+/, "", domain); domain="www."domain }
# check optional search prefix
if (pre != "" && $1 != pre) next
if (pre != "" && index($0, pre) != 1) next
# skip empty lines, comments and special domains
if (domain == "" || domain ~ ("^(#|localhost|loopback|" chk ")")) next
# no domain with trailing dot
@@ -1628,7 +1628,7 @@ f_main() {
done
f_list prepare
) &
# normal handling for feeds without categories
#
else