Ticket #1110 (closed Bug: fixed)
Handle IPv4 mapped addresses; Detect IPv6 addresses at Installation
| Reported by: | vipsoft | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Piwik 0.5.5 |
| Component: | Core | Keywords: | |
| Cc: | Sensitive: | no |
Description (last modified by vipsoft) (diff)
core/Common.php getIp() uses ip2long(). This only works for ipv4 addresses.
ipv6 addresses result in 0 (and are converted back as "0.0.0.0").
Change History
Note: See
TracTickets for help on using
tickets.
