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
RightmostTrustedRangeStrategy goes from right to left, until it finds an untrusted IP. That is the rightmost untrusted IP. It then returns that IP, e.g. that was provided by the proxy right of that, the leftmost trusted proxy.
In other words, it gives the rightmost untrusted IP, or the one from the leftmost trusted IP.
RightmostTrustedRangeStrategy
goes from right to left, until it finds an untrusted IP. That is the rightmost untrusted IP. It then returns that IP, e.g. that was provided by the proxy right of that, the leftmost trusted proxy.In other words, it gives the rightmost untrusted IP, or the one from the leftmost trusted IP.
The name is wrong.
Example:
X-Forwarded-For: untrusted1 untrusted2 trusted3 trusted4
Would return untrusted2, the rightmost untrusted IP, provided by trusted3, the leftmost trusted proxy.
The text was updated successfully, but these errors were encountered: