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

HTTP 404 errors due to /lib/ufo.js

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.4
    • 2.6.6, 2.7.3
    • Filters
    • MOODLE_24_STABLE
    • MOODLE_26_STABLE, MOODLE_27_STABLE
    • m28_MDL-36669_UFO_references_in_filelib
    • Hide

      (difficulty: easy, requires teacher access to a course and administrator access to enable the multimedia filter)

      1. Log in as a administrator and enable the multimedia filter;
      2. Add an HTML file as a "File" resource and set "Use fiters ..." to "HTML";
      3. Open the Developer Tools of you browser (<F12> for Windows) and select&enable the Network tab
      4. Access the HTML resource: no HTTP 404 should be recorded - before applying the patch, one hit to lib/ufo.js - and no warnings should appear in the logs.
      Show
      (difficulty: easy, requires teacher access to a course and administrator access to enable the multimedia filter) Log in as a administrator and enable the multimedia filter; Add an HTML file as a "File" resource and set "Use fiters ..." to "HTML"; Open the Developer Tools of you browser (<F12> for Windows) and select&enable the Network tab Access the HTML resource: no HTTP 404 should be recorded - before applying the patch, one hit to lib/ufo.js - and no warnings should appear in the logs.

    Description

      That file represents the UFO library which has been removed in MDL-26697 (git hash fcd2cbaf1f99750ce1a44780ae1dad24f21078b7).

      The library is included, when the media plugin filter is enabled, by filelib.php::file_modify_html_header().

      Attachments

        Issue Links

          Activity

            People

              matteo Matteo Scaramuccia
              matteo Matteo Scaramuccia
              Marina Glancy Marina Glancy
              Sam Hemelryk Sam Hemelryk
              Frédéric Massart Frédéric Massart
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Nov/14