mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
Fix typo in keywords removal regex
This commit is contained in:
parent
af66ef8799
commit
93b01f0951
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ actioncheck =
|
|||
actionban = lgm=$(
|
||||
msg="<matches>" ;\
|
||||
[ -n "<keywords_to_remove>" ] && \
|
||||
msg=$(echo "$msg" | sed -E "s/\b(<keywoards_to_remove>)\b/REDACTED/gI") ;\
|
||||
msg=$(echo "$msg" | sed -E "s/\b(<keywords_to_remove>)\b/REDACTED/gI") ;\
|
||||
msg=$(printf '%%.1000s\n...' "$msg") ;\
|
||||
echo "$msg" ) ;\
|
||||
curl -sSf "https://api.abuseipdb.com/api/v2/report" \
|
||||
|
|
|
|||
Loading…
Reference in a new issue