A ban in bans.json that ends at or before its start is refused, as other malformed entries are (closes #150) #153

Merged
clawbot merged 1 commits from issue-150-ban-expires-before-start into next 2026-10-20 17:42:02 +02:00
1 Commits
Author SHA1 Message Date
sneak 157d52af2f A ban in bans.json that ends at or before its start is refused, as other malformed entries are (closes #150)
check / check (push) Waiting to run
A netblock's next ban for a broken limit within
SWWAF_LIMIT_BAN_REPEAT_WINDOW lasts three times its last limit or admin
ban. A hand-written entry with an expires at or before its start made
that length zero or less, so the next limit ban refused nothing. The
bans.json checks now refuse such an entry: it stops the start, and an
edit holding one is set aside as bans.json.bad while running. README's
"State files" lists it with the other refused entries.

Model: opus-5-5
2026-10-20 15:26:59 +00:00