The public /sponsors/logo/:name route only accepted names matching an active sponsor's logo, which was already regex-filtered, but that guard was indirect. Checking sponsorLogoRe on the name itself makes the path/URL safety local and clears CodeQL alerts #113 (go/request-forgery) and #114 (go/path-injection). |
||
|---|---|---|
| .. | ||
| api_token.go | ||
| api_token_scope_test.go | ||
| api_token_test.go | ||
| panel.go | ||
| panel_other.go | ||
| panel_test.go | ||
| panel_unix.go | ||
| sponsor.go | ||
| sponsor_test.go | ||
| user.go | ||
| websocket.go | ||