symfony/symfony — pull request #12571 by Neime (2014-11-25 10:36:22+00:00)
Title: [HttpFoundation] Fix ipv6 check

| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |

I have this error ContextErrorException: Warning: inet_pton(): Unrecognized address X.X.X.X:X
in IpUtils.php line 110

This is detected as a ipv6 because HTTP_X_FORWARDED_FOR have a port.