Validate app names in both HandleAppCreate and HandleAppUpdate using a regex pattern matching the client-side HTML pattern: lowercase alphanumeric and hyphens, 2-63 chars, must start and end with alphanumeric character. This prevents Docker API errors, path traversal, and log injection from crafted POST requests bypassing browser validation. |
||
|---|---|---|
| .. | ||
| app_name_validation_test.go | ||
| app_name_validation.go | ||
| app.go | ||
| auth.go | ||
| dashboard.go | ||
| handlers_test.go | ||
| handlers.go | ||
| healthcheck.go | ||
| port_validation_test.go | ||
| setup.go | ||
| tail_validation_test.go | ||
| webhook.go | ||