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

ICO file not displayed in IE7 via file.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.7.2, 1.8
    • Component/s: Unknown
    • Labels:
      None
    • Environment:
      Windows XP SP2 + IE7
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_17_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE

      Description

      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!

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            pinkduck Peter Chamberlin
            Tester:
            Nobody
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              30/Mar/07