Details
-
Improvement
-
Resolution: Obsolete
-
Medium
-
4.3.0alpha1
-
None
Description
feature request
Some parts in eZ use the HTTP_X_FORWARDED_FOR and REMOTE_ADDR to evaluate the clients ip.
For example eZDebug doesn`t use HTTP_X_FORWARDED_FOR which makes troubles when working through a proxy.
I propose the we add a new function to eZSys that evaluates the client ip ( eZSys::clientIP() ).
All parts of eZ (eZDebug, eZSession) should use in the future eZSys::clientIP() to determine the ip.
You can find all parts by grepping for REMOTE_ADDR.