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

Javascript error in Hot Potatoes JQuiz caused by unescaped apostrophe

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.11
    • Fix Version/s: None
    • Component/s: Module: HotPot
    • Labels:
      None
    • Environment:
      any Moodle
    • Database:
      Any
    • Difficulty:
      Moderate
    • Affected Branches:
      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

            • Assignee:
              xxxxxxx Gordon Bateson
              Reporter:
              xxxxxxx Gordon Bateson
              Tester:
              Nobody
              Participants:
              Component watchers:
              Gordon Bateson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: