Skip to content
Unverified Commit c9b58877 authored by Thomas Citharel's avatar Thomas Citharel
Browse files

Allow bracket IPv6 address format inside IPAdress Normalizer



When run with php's build-in server (for instance on localhost:8080), IP provided through $this->server['REMOTE_ADDR'] is [::1], which is not an acceptable format for \inet_pton. This removes the brackets if there's any.

Signed-off-by: default avatarThomas Citharel <tcit@tcit.fr>
parent 4d8f2c24
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment