Apply suggestion from @GAS85

This commit is contained in:
Georgiy Sitnikov 2025-11-05 11:29:56 +01:00 committed by GitHub
parent 93b01f0951
commit 51516c7c8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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" \