Represents fiber.Ctx in the Fiber HTTP framework (v2), inspired by Express.js. Zero-allocation design. All input methods are taint sources.
.Params().Query().FormValue().BodyParser().Redirect().Params()SourceParams(key string, defaultValue ...string) string
Returns URL path parameter value.
return.Query()SourceQuery(key string, defaultValue ...string) string
Returns URL query parameter value.
return.FormValue()SourceFormValue(key string, defaultValue ...string) string
Returns POST form value.
return.BodyParser()SourceBodyParser(out any) error
Parses request body into out. out becomes tainted.
0.Redirect()SinkRedirect(location string, status ...int) error
Redirects to location. Sink for open-redirect.
0| FQN | Field | |
|---|---|---|
| github.com/gofiber/fiber/v2.Ctx | fqns[0] | |
| *.Ctx | patterns |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
require github.com/gofiber/fiber/v2 v2.52.0
from codepathfinder.go_rule import GoFiberCtx