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

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.1
    • Fix Version/s: 2.4.2
    • Component/s: Caching
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE

      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

              Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              samhemelryk Sam Hemelryk
              Integrator:
              Damyon Wiese
              Tester:
              Rajesh Taneja
              Participants:
              Component watchers:
              Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Mar/13