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

Missing encoding checks /auth/ldap/lib.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.8, 1.9
    • 1.5.4, 1.6.2, 1.6.3, 1.7
    • Authentication
    • None
    • MS-AD, PHP 5.1.2, MySQL 5.0.24 latin charset
    • MySQL
    • MOODLE_15_STABLE, MOODLE_16_STABLE, MOODLE_17_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

      When using latin charset database some functions in /auth/ldap/lib.php are missing proper
      encoding checks and conversions if necessary. This will cause data loss when syncronizing database
      with LDAP and it disables user accounts when username contains charachters like å, á, é etc...
      Functions missing checks:

      • auth_sync_users
      • auth_get_userinfo_asobj
      • auth_ldap_update_user_record

            skodak Petr Skoda
            julmis Janne Mikkonen
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.