1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-11-26 16:12:13 +02:00

[#6063] fixed x-forwarded-for typo

This commit is contained in:
Gani Georgiev
2024-12-09 04:33:44 +02:00
parent 88a1867169
commit 9747f46c1d
34 changed files with 3869 additions and 3867 deletions

View File

@@ -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"`