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

LDAP doesn't properly escape extra quotes in course details

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.3, 1.8
    • Fix Version/s: 1.6.5, 1.7.2, 1.8
    • Component/s: Authentication
    • Labels:
      None
    • Environment:
      Linux
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_15_STABLE, MOODLE_18_STABLE
    • Fixed Branches:
      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

            Assignee:
            skodak Petr Skoda
            Reporter:
            jgraham Jeff Graham
            Tester:
            Nobody Nobody
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              30/Mar/07