mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
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: Thomas Citharel <tcit@tcit.fr> |
||
|---|---|---|
| .. | ||
| IpAddressTest.php | ||