mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-10 16:27:26 +02:00
[#6063] fixed x-forwarded-for typo
This commit is contained in:
1 parent
88a1867169
commit
9747f46c1d
34 files changed
+3869
-3867
No files matched your search
@@ -530,7 +530,7 @@ type TrustedProxyConfig struct {
|
||||
|
||||
// UseLeftmostIP specifies to use the left-mostish IP from the trusted headers.
|
||||
//
|
||||
// Note that this could be insecure when used with X-Forward-For header
|
||||
// Note that this could be insecure when used with X-Forwarded-For header
|
||||
// because some proxies like AWS ELB allow users to prepend their own header value
|
||||
// before appending the trusted ones.
|
||||
UseLeftmostIP bool `form:"useLeftmostIP" json:"useLeftmostIP"`
|
||||
|
||||
Reference in new issue
Block a user