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

ETag value must be a quoted-string

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3.8, 2.4.5, 2.5.1
    • 2.5
    • Files API
    • None
    • MOODLE_25_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • m26_MDL-40002_ETag_value_must_be_a_quoted-string
    • Hide

      (difficulty: easy, requires to use a network sniffer)

      1. Open a 3rd party network sniffer e.g. Fiddler and start capturing the network (HTTP) traffic. For Fiddler, press F12
      2. Open your preferred browser e.g. Chrome and cleanup its cache
      3. Point the browser to the home of your Moodle instance
      4. Check each captured response: HTTP Status must be 200 and in the Response Headers, the ETag value - available for any CSS/Image/JS provided by Moodle - must be surrounded by quotes
      5. Redo a browser request to the same page: now any of the above response will be provided by the browser cache, the HTTP Status must be equal to 304
      Show
      (difficulty: easy, requires to use a network sniffer) Open a 3rd party network sniffer e.g. Fiddler and start capturing the network (HTTP) traffic. For Fiddler, press F12 Open your preferred browser e.g. Chrome and cleanup its cache Point the browser to the home of your Moodle instance Check each captured response: HTTP Status must be 200 and in the Response Headers , the ETag value - available for any CSS / Image / JS provided by Moodle - must be surrounded by quotes Redo a browser request to the same page: now any of the above response will be provided by the browser cache, the HTTP Status must be equal to 304

      Starting from the investigations reported in MDL-39832, it appears that ETag has not been correctly quoted as required per RFC2616: issues have been actually found only in serving files via lib/filelib.php e.g. pluginfile.php under some circumstances (see MDL-39832 for details).

            matteo Matteo Scaramuccia
            matteo Matteo Scaramuccia
            Petr Skoda Petr Skoda
            Dan Poltawski Dan Poltawski
            Sam Hemelryk Sam Hemelryk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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