Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-23343

Add support for IPv6 addresses and address ranges to DebugByIP feature in eZDebug class to enable debug output

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2014.07, 5.4-dev
    • Fix Version/s: 2014.11, 5.4.0-beta1
    • Component/s: Misc
    • Labels:
    • Environment:

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              bc Brookins Consulting
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 15 minutes
                  15m