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

Add "application/xhtml+xml" mime type for *.xhtml resource files

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.2
    • Fix Version/s: 1.9
    • Component/s: Resource
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_17_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Attached patch adds "application/xhtml+xml" mime type for *.xhtml resource files. This is the correct Mime type per http://www.w3.org/TR/xhtml-media-types/.

      IE doesn't support it natively yet, but does with the help of, e.g., the MathPlayer MathML plugin, which is useful for pages with the XHTML 1.1 plus MathML 2.0 DocType.

        Gliffy Diagrams

          Activity

          Hide
          balchd David Balch added a comment -

          I forgot to mention that the patch also puts the .xhtml files through the text filter system.

          Show
          balchd David Balch added a comment - I forgot to mention that the patch also puts the .xhtml files through the text filter system.
          Hide
          skodak Petr Skoda added a comment -

          mimetype added into HEAD, I am not sure if it is 100% safe to commit into STABLE
          The filtering of uploaded files needs some other fixing, you may file a separate report for the filtering if needed.

          thanks for the report!

          Show
          skodak Petr Skoda added a comment - mimetype added into HEAD, I am not sure if it is 100% safe to commit into STABLE The filtering of uploaded files needs some other fixing, you may file a separate report for the filtering if needed. thanks for the report!

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Mar/08