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

ICO file not displayed in IE7 via file.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.7.2, 1.8
    • 1.7.1
    • None
    • None
    • Windows XP SP2 + IE7
    • MySQL
    • MOODLE_17_STABLE
    • MOODLE_17_STABLE, MOODLE_18_STABLE

      The file.php contains reference to filelib.php that lists MIME-types and their mappings to content-types. This does not include an entry for "ICO". Thus the following line should be added.

      'ico' => array ('type'=>'image/x-icon', 'icon'=>'image.gif'),

      Moreso, why are MIME entries even in a hard-coded PHP file? Apache maintains its own list of MIME associations in /conf/mime.types - and this includes ICO -> image/x-icon already!

            skodak Petr Skoda
            pinkduck Peter Chamberlin (Inactive)
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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