Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-13501 Add animated grade statistics report
  3. MDL-18733

repalce cookie hack with web service user key in gradebook stats report

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Gradebook
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      if(empty($_COOKIE) && isset($_GET['sessionid']) && isset($_GET['sessioncookie']) && isset($_GET['sessiontest'])) {
      $_COOKIE['MoodleSession' . $_GET['sessioncookie']] = $_GET['sessionid'];
      $_COOKIE['MoodleSessionTest' . $_GET['sessioncookie']] = $_GET['sessiontest'];
      $cookiewasset = true;
      }

      require_once '../../../config.php';

      breaks our session fixation prevention in setup.php, we can not send cookies this way

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              skodak Petr Skoda
              Participants:
              Component watchers:
              Jake Dallimore, Jun Pataleta
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: