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

Javascript error in Hot Potatoes JQuiz caused by unescaped apostrophe

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9.11
    • None
    • Module: HotPot
    • None
    • any Moodle
    • Any
    • Moderate
    • MOODLE_19_STABLE

    Description

      apostrophe's are not correctly escaped in strings which are used in Hot Potatoes quizzes, for example the "PleaseEnter" string in JQuiz.

      Following thread has an actual example:

      I checked to get a list of all strings used in JavaScript and made sure they are all escaped, and also encoded as JavaScript unicode, e.g. \u0099

      Attachments

        Activity

          People

            xxxxxxx Gordon Bateson
            xxxxxxx Gordon Bateson
            Nobody Nobody
            Gordon Bateson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: