Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-5655

HTML text cleaning too restrictive for trusted output

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor Minor
    • 3.3
    • 2.7.3, 2.8, 3.3
    • Module: Questionnaire
    • None

      At some point, Moodle's "format_text" api began using another argument to specify cleaning options. As a result, questionnaire's use of this is very restrictive, and will remove code like embedded iframes from all output. This includes output created by "trusted" roles like teachers. This means that question text and information sections may lose HTML code entered in to them by trusted roles. Go through and add "array('noclean' => true)" as a third argument to "format_text" where applicable.

            mchurch Mike Churchward
            mchurch Mike Churchward
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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