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

Special characters in question fields in Moodle XML export didn't properly escaped for plugins using extra_question_fields

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.9.10
    • 1.9.9
    • Questions
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

      I discovered bug in my universal XML export code from MDL-20157 (it's affects only 3d party plugins for now). Extra question fields could contain HTML special chars and they are not escaped properly.

      Should be easy to fix using <![CDATA[ ]]> tag if such characters existed, adapting solution used by XML format writetext function. I'm going to commit patch in the near time.

            timhunt Tim Hunt
            oa_sychev Oleg Sychev
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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