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

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.11
    • Fix Version/s: None
    • Component/s: Module: HotPot
    • Labels:
      None
    • Affected Branches:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: