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

Cache admin page is using sloppy PARAM_TEXT when it should be PARAM_SAFEPATH

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4.1
    • 2.4.2
    • Caching
    • MOODLE_24_STABLE
    • MOODLE_24_STABLE
      1. Log in as an admin
      2. Browse to Settings > Plugins > Caching > Configuration
      3. Edit the mappings for a definition and save your changes.
      4. Make sure you get no errors.

    Description

      As identified in MDL-37474 the cache admin page is using PARAM_TEXT for cache definitions. It should definitely be using PARAM_ALPHANUMEXT instead.

      MDL-37474 saw this addressed in master, this issue is about backporting that small change to 24.

      Attachments

        Issue Links

          Activity

            People

              samhemelryk Sam Hemelryk
              samhemelryk Sam Hemelryk
              Damyon Wiese Damyon Wiese
              Rajesh Taneja Rajesh Taneja
              Matteo Scaramuccia, David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Mar/13