Originally created by @TMHBOFH on GitHub (Dec 9, 2018).
Hi,
with rocket 0.4 the function to get the remote ip has change.
Please see the changelog.
Request::remote() returns the actual remote IP, doesn't rewrite.
Use Request::real_ip() or Request::client_ip() to retrieve the IP address from the "X-Real-IP" header if it is present.
Thanks for your great work on this project.
best regards
Originally created by @TMHBOFH on GitHub (Dec 9, 2018).
Hi,
with rocket 0.4 the function to get the remote ip has change.
Please see the [changelog](https://github.com/SergioBenitez/Rocket/blob/a4dcb0cf4cfd28671bbc8f101a99dfa1a74668b9/CHANGELOG.md).
> Request::remote() returns the actual remote IP, doesn't rewrite.
>
> Use Request::real_ip() or Request::client_ip() to retrieve the IP address from the "X-Real-IP" header if it is present.
Thanks for your great work on this project.
best regards
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @TMHBOFH on GitHub (Dec 9, 2018).
Hi,
with rocket 0.4 the function to get the remote ip has change.
Please see the changelog.
Thanks for your great work on this project.
best regards
@dani-garcia commented on GitHub (Dec 9, 2018):
This should be fixed in the latest beta commit, good eye!