Standard Library

GoNetHttpCgi

Go stdlib package — net/http/cgi. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.Handler.ServeHTTP()Neutral
#
Signature
Handler.ServeHTTP(rw http.ResponseWriter, req *http.Request)

Handler.ServeHTTP function.

.Request()Neutral
#
Signature
Request() (*http.Request, error)

Request returns the HTTP request as represented in the current

.RequestFromMap()Neutral
#
Signature
RequestFromMap(params map[string]string) (*http.Request, error)

RequestFromMap creates an http.Request from CGI variables.

.Serve()Neutral
#
Signature
Serve(handler http.Handler) error

Serve executes the provided Handler on the currently active CGI

.Handler()Neutral
#
Signature
type Handler ...

Handler runs an executable in a subprocess with a CGI environment.

Fully-Qualified Names

FQNField
net/http/cgifqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

go.mod
// standard library — no go.mod entry required
rule.py
from codepathfinder.go_rule import ...  # net/http/cgi