We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When behind_proxy is on, request->address returns value of X-Forwarded-For header, and it's completely legitimate for this header to contain multiple IP addresses: https://developer.mozilla.org/ru/docs/Web/HTTP/Headers/X-Forwarded-For - IP of the client and proxies' IPs.
behind_proxy
request->address
X-Forwarded-For
While according to Dancer documentation it should only Return the IP address of the client.
Return the IP address of the client.
It would be nice to make it only return client's IP - either first IP from the list, or $ENV{REMOTE_ADDR} (like e.g. Dancer2 does).
$ENV{REMOTE_ADDR}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When
behind_proxy
is on,request->address
returns value ofX-Forwarded-For
header, and it's completely legitimate for this header to contain multiple IP addresses: https://developer.mozilla.org/ru/docs/Web/HTTP/Headers/X-Forwarded-For - IP of the client and proxies' IPs.While according to Dancer documentation it should only
Return the IP address of the client.
It would be nice to make it only return client's IP - either first IP from the list, or
$ENV{REMOTE_ADDR}
(like e.g. Dancer2 does).The text was updated successfully, but these errors were encountered: