Skip to content
Myr

fix: the trusted proxies should support ipv6 address by default (#3033)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Eric_Lee · committed by GitHub · parent f1e9428 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:gin.go+1 added-1 removed
193 unmodified lines
194 MaxMultipartMemory: defaultMultipartMemory,195 trees: make(methodTrees, 0, 9),196 delims: render.Delims{Left: "{{", Right: "}}"},197 secureJSONPrefix: "while(1);",198 trustedProxies: []string{"0.0.0.0/0"},198 trustedProxies: []string{"0.0.0.0/0", "::/0"},199 trustedCIDRs: defaultTrustedCIDRs,200 }201 engine.RouterGroup.engine = engine202 engine.pool.New = func() any {
499 unmodified lines