Project

General

Profile

Actions

Feature #504

closed

mod_dirlisting doesn't use the correct mime type

Added by Anonymous almost 17 years ago. Updated about 14 years ago.

Status:
Invalid
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

Description

mod_dirlisting should use the mime type "application/xhtml+xml" for the dirlisting in XHTML instead of "text/html". The W3C discourages from the use of "text/html" for XHTML files -> http://www.w3.org/TR/xhtml-media-types/#summary

Maybe there could be a directive in the config file like "dirlisting.use-xhtml-mime = (enable|disable)", so the administrator can decide whether to use it or not. (the IE can't understand the mime type/it can't understand XHTML correctly...)

There is another interesting article about this problem: http://hixie.ch/advocacy/xhtml

-- Christian

Actions #1

Updated by stbuehler over 14 years ago

  • Status changed from New to Fixed
  • Resolution set to invalid

the output is not xml.

Actions #2

Updated by stbuehler about 14 years ago

  • Status changed from Fixed to Invalid
Actions

Also available in: Atom