Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-56334

New IP/ domain validation library for core

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2
    • Component/s: Libraries
    • Labels:
    • Sprint:
      3.2 Sprint 7

      Description

      Create a new library encapsulating internet protocol related functions in core.

      The need was identified while working on MDL-48498 and MDL-44467, in which domain name and IP address validation and matching was required for several things. Some functions existed within class.t3lib_div.php, however, these functions are untested and error prone in some cases.

      After discussion, Adrian Greeve and I decided we'd prefer not to further bloat moodlelib.php and instead we'd split out the library into a new issue, which would then block the aforementioned issues.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    5/Dec/16