Details
-
Improvement
-
Resolution: Fixed
-
Medium
-
2014.07, 5.4-dev
-
Apple MacBook Pro (2012)
Description
Today on our localhost development environment we tried to enable the DebugByIP feature using my computers localhost IPv6 IP Address '::1'.
The DebugOutput would not display with the IPv6 IP Address '::1' entered properly into the settings configuration and all caches cleared.
We traced the problem to code in eZDebug::isAllowedByCurrentIP() where it tested only for IPv4 IP Addresses and not IPv6 IP Addresses.
We then wrote replacement code to enable debug output on a computer which uses IPv6 IP Addresses.
We also wrote replacement code to support IPv6 IP Address Ranges to display DebugOutput to an entire subnet (IP Address Range).
We write today to respectfully request your review of our code improvements.
We will place a link to our pull request for your review within the comments section of this issue ticket.