You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(proxy_handler): Handle spaces in x-forwarded-for header (#327)
Having spaces or no spaces results in equivalent headers in RFC 7239:
As an example, the header field
Forwarded: for=192.0.2.43,for="[2001:db8:cafe::17]",for=unknown
is equivalent to the header field
Forwarded: for=192.0.2.43, for="[2001:db8:cafe::17]", for=unknown
This PR fixes#326 because we treated spaces as mandatory in the Forwarded Header.
Signed-off-by: Lennard Eijsackers <[email protected]>
0 commit comments