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

LDAP doesn't properly escape extra quotes in course details

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.5.3, 1.8
    • 1.6.5, 1.7.2, 1.8
    • Authentication
    • None
    • Linux
    • MySQL
    • MOODLE_15_STABLE, MOODLE_18_STABLE
    • MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE

    Description

      LDAP enrol.php doesn't escape quotes present in the course shortname, fullname or summary. This causes numerous problems with our setups as several of our courses have apostrophes in any or all of these fields.

      Attached is a unified diff which resolves the problem for us.

      Attachments

        Activity

          People

            skodak Petr Skoda
            jgraham Jeff Graham
            Nobody Nobody
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              30/Mar/07