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

No external param validation in core_search user filtering

XMLWordPrintable

      The $query & $courseid params to the core_search_get_relevant_users external method are not being validated

      Additionally, I found the unit tests of the same method weren't cleaning the returned data according to that method's return structure so it was asserting incorrect types

            pholden Paul Holden
            pholden Paul Holden
            Peter Dias Peter Dias
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.