Bug #26059 — Add support for KML/KMZ filetype
authorMark A. Hershberger <mah@users.mediawiki.org>
Sat, 19 Feb 2011 03:22:03 +0000 (03:22 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Sat, 19 Feb 2011 03:22:03 +0000 (03:22 +0000)
commitec4dbd13cdd39d1b2b3e9a596f8609eadd7219b5
tree31bf857b0ece4c4e84769753ff92cb9b4b8cc422
parent41a46e659f1cb87d7ccd1be97c757585d5ce2420
Bug #26059 — Add support for KML/KMZ filetype

Patch from Derk-Jan Hartman of which he writes:

    I figured adding kml support would be a breeze, but I had not
    counted on the brain dead browser that is IE6.

    Unfortunately, kml contains the element <heading, which triggers
    the protection in detectScript() that protects from uploads that
    IE6 might mistake for HTML.  It triggers on "<head" not sure if we
    can work around this, but Tim will know.
includes/DefaultSettings.php
includes/Defines.php
includes/mime.info
includes/mime.types
includes/upload/UploadBase.php