upaas/internal/handlers
user 300de44853 fix: validate and clamp container log tail parameter (closes #24)
- Add sanitizeTail() helper that validates tail is numeric and positive
- Clamp values to max 500
- Default to 500 when empty, non-numeric, zero, or negative
- Add comprehensive test cases
2026-02-15 21:50:00 -08:00
..
app.go fix: validate and clamp container log tail parameter (closes #24) 2026-02-15 21:50:00 -08:00
auth.go Add CSRF protection to state-changing POST endpoints 2026-02-15 14:17:55 -08:00
dashboard.go Add CSRF protection to state-changing POST endpoints 2026-02-15 14:17:55 -08:00
handlers_test.go fix: add ownership verification on env var, label, volume, and port deletion 2026-02-15 21:02:46 -08:00
handlers.go Add CSRF protection to state-changing POST endpoints 2026-02-15 14:17:55 -08:00
healthcheck.go Initial commit with server startup infrastructure 2025-12-29 15:46:03 +07:00
port_validation_test.go fix: validate port range 1-65535 in parsePortValues (closes #25) 2026-02-15 21:34:50 -08:00
setup.go Add CSRF protection to state-changing POST endpoints 2026-02-15 14:17:55 -08:00
tail_validation_test.go fix: validate and clamp container log tail parameter (closes #24) 2026-02-15 21:50:00 -08:00
webhook.go fix: limit webhook request body size to 1MB to prevent DoS (closes #1) 2026-02-08 12:02:06 -08:00