mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
Apply suggestion from @GAS85
This commit is contained in:
parent
93b01f0951
commit
51516c7c8e
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ actionban = lgm=$(
|
|||
msg="<matches>" ;\
|
||||
[ -n "<keywords_to_remove>" ] && \
|
||||
msg=$(echo "$msg" | sed -E "s/\b(<keywords_to_remove>)\b/REDACTED/gI") ;\
|
||||
msg=$(printf '%%.1000s\n...' "$msg") ;\
|
||||
msg=$(printf '%%.1020s\n...' "$msg") ;\
|
||||
echo "$msg" ) ;\
|
||||
curl -sSf "https://api.abuseipdb.com/api/v2/report" \
|
||||
-H "Accept: application/json" \
|
||||
|
|
|
|||
Loading…
Reference in a new issue