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

Double escaping of user identity fields in grade history report

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.9.4, 3.10.1
    • Fix Version/s: 3.9.6, 3.10.3
    • Component/s: Gradebook
    • Labels:

      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

            Assignee:
            pholden Paul Holden
            Reporter:
            pholden Paul Holden
            Peer reviewer:
            Simey Lameze Simey Lameze
            Integrator:
            Víctor Déniz Falcón Víctor Déniz Falcón
            Tester:
            Janelle Barcega Janelle Barcega
            Participants:
            Component watchers:
            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:
              Fix Release Date:
              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