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

HotPot activities with quotes in their names have the name truncated when updated. Patch attached.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.11
    • None
    • Module: HotPot
    • None
    • MOODLE_19_STABLE

    Description

      HotPot activities with quotes in their names have the name truncated when you go to update them. These quotes are passed intact when populating the text box, truncating the value.

      The attached patch applies the htmlspecialchars to $form->name in moodle/mod/hotpot/mod.html , converting the double quotes into html entities, correcting the problem.

      Attachments

        Activity

          People

            xxxxxxx Gordon Bateson
            mbockol Matt Bockol
            Gordon Bateson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: