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

forbid use of cookies especially from javascript

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Duplicate
    • 2.1
    • None
    • General, SCORM, Themes
    • 40

    Description

      Our developers and theme designers keep smuggling in cookies, this is not compatible with $CFG->cookiehttponly and is against some privacy laws.

      Simply stop relying on cookies and if necessary use user preferences.

      Offenders:

      • admin roles UI
      • lib/cookies.js
      • scorm data model
      • repository
      • anomaly theme

      Solution:
      1/ educate integrators and developers - see MDL-17084 for ajax user preferences
      2/ fix the code
      3/ fix dev docs

      Attachments

        Issue Links

          Activity

            People

              moodle.com Moodle HQ
              skodak Petr Skoda
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Huong Nguyen, Bas Brands, Mathew May
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: