akeeba / fof

Rapid Application Development framework for Joomla!™ 3 and 4
0 stars 0 forks source link

Fixed IP detection #664

Closed tampe125 closed 6 years ago

tampe125 commented 6 years ago

If the remote site uses a proxy server, the detected IP was wrong: the last IP in the chain was returned and not the first one, as defined by the specs https://en.wikipedia.org/wiki/X-Forwarded-For#Format

This PR fixes this