symfony/symfony — pull request #4472 by neilferreira (2012-05-31 08:54:51+00:00)
Title: getClientIp() will now only return valid IP addresses, rather than assuming the X_FORWARDED_FOR is the first comma seperated value.

Fixes #4471

I'm not sure why an empty string was being returned in the first place, rather than null. Any ideas?