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

Double escaping of user identity fields in grade history report

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9.4, 3.10.1
    • 3.9.6, 3.10.3
    • Gradebook

    Description

      The user identity fields are already escaped when loading users: https://github.com/moodle/moodle/blob/95dd305cc6c84b5c6735df9e3506cebb79ac67f9/grade/report/history/users_ajax.php#L64-L66 doing so again client-side produces the following:

      Found while looking at MDL-65552

      Attachments

        Activity

          People

            pholden Paul Holden
            pholden Paul Holden
            Simey Lameze Simey Lameze
            Víctor Déniz Falcón Víctor Déniz Falcón
            Janelle Barcega Janelle Barcega
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              25/Mar/21

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 30 minutes
                3h 30m