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

Incorrect HTML escaping on the override permissions screen

    XMLWordPrintable

    Details

      Description

      Steps to reproduce:

      1. Use the feature to rename roles in a course to (Or create new roles with these names):
        • Studyer & learner
        • Teacher >= editor
        • Teacher < editor
      2. Go to Coure settings -> Users -> Permissions
      3. Click the + icon to add roles to a permission.

      Expected result: It works.

      Actual result: role names are double-escaped, so appear with & < and >

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              timhunt Tim Hunt
              Peer reviewer:
              Sam Marshall Sam Marshall
              Integrator:
              Andrew Lyons Andrew Lyons
              Tester:
              CiBoT CiBoT
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Jan/21

                  Time Tracking

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