Merge pull request #2530 from bar/patch-1

Double rainbow.
This commit is contained in:
Mark 2013-12-22 15:58:03 -08:00
commit 0142137d31

View file

@ -385,7 +385,7 @@ class CakeRequest implements ArrayAccess {
* Get the IP the client is using, or says they are using. * Get the IP the client is using, or says they are using.
* *
* @param boolean $safe Use safe = false when you think the user might manipulate their HTTP_CLIENT_IP * @param boolean $safe Use safe = false when you think the user might manipulate their HTTP_CLIENT_IP
* header. Setting $safe = false will will also look at HTTP_X_FORWARDED_FOR * header. Setting $safe = false will also look at HTTP_X_FORWARDED_FOR
* @return string The client IP. * @return string The client IP.
*/ */
public function clientIp($safe = true) { public function clientIp($safe = true) {