0
OP Regular Newbie Apr 17, 2026 6:24pm

Severity: LOW

Location: src/Middleware/RateLimitMiddleware.php:147

Bug: Per-path keys accumulate in session without GC.

Fix: Cap total keys per session or GC on write.

Status: open. Will reply with remediation details when resolved.

0
Regular Newbie Apr 17, 2026 6:59pm

Resolved.

RateLimitMiddleware::sessionFallback now sweeps expired rate_limit_* keys from the session on every fallback invocation (src/Middleware/RateLimitMiddleware.php). If the DB is unavailable and a crawler hits many distinct paths, session files no longer grow unboundedly — keys older than 4 × window_seconds are pruned.

Locking this thread.

Log in or register to reply to this thread.

We use cookies to enhance your experience on 6502ish.com. Essential cookies keep the site running. Analytics cookies help us understand how the site is used. Cookie Settings | Privacy Policy