Merge branch 'ip' into 'main'

fix: append a separator to any hostname or IP only pattern

See merge request malware-filter/urlhaus-filter!13
This commit is contained in:
kazari 2025-03-11 17:54:20 +09:00
commit 5e3523917a
1 changed files with 2 additions and 2 deletions

View File

@ -264,11 +264,11 @@ sed "1s/Blocklist/Blocklist (AdGuard Home)/" > "../public/urlhaus-filter-agh-onl
# Adguard browser extension
cat "malware-domains.txt" | \
sed "s/^/||/g" | \
sed "s/$/\$all/g" > "malware-domains-adguard.txt"
sed "s/$/^\$all/g" > "malware-domains-adguard.txt"
cat "malware-domains-online.txt" | \
sed "s/^/||/g" | \
sed "s/$/\$all/g" > "malware-domains-online-adguard.txt"
sed "s/$/^\$all/g" > "malware-domains-online-adguard.txt"
cat "malware-domains-adguard.txt" "malware-url-top-domains.txt" | \
sort | \