Aleksandr Trushkin 4f89f59232 fix(cluster-3): http hardening (M15/M16/M14/C2)
- pagination: clamp per_page to [1,100] and page to >=1 in the parser,
  guard the TotalPages division against per_page=0 (panic), and clamp the
  current page to [1,totalPages]; preserves cursor (next-token) mode
- middleware: add panic-recovery as the outermost middleware so handler
  panics return a 500 instead of crashing the process; re-panics
  http.ErrAbortHandler to keep file serving intact
- index: bound the index page query (Limit:200) so it no longer drains
  the entire courses table in 1000-row batches
2026-06-28 04:31:21 +00:00
2024-06-16 23:55:49 +03:00
2024-01-11 11:55:37 +03:00
2024-04-11 10:33:14 +03:00
2024-09-25 00:47:12 +03:00
2024-03-24 16:51:39 +03:00
2026-06-27 22:46:52 +00:00
2024-09-25 00:47:12 +03:00
2023-11-22 01:12:04 +03:00
2024-09-25 00:47:12 +03:00
Description
No description provided
1.1 MiB
Languages
Go 84.3%
HTML 7.8%
templ 7.2%
Dockerfile 0.7%