Project

General

Profile

Actions

Bug #94

closed

mimetype assignment does not work always

Added by Anonymous almost 17 years ago. Updated almost 15 years ago.

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

Description

I have mimetypes configured like this:


mimetype.assign           = ( ".png"  => "image/png",
                              ".PNG"  => "image/png",
                              ".gif"  => "image/gif",
                              ".GIF"  => "image/gif",
                              ".jpg"  => "image/jpeg",
                              ".JPG"  => "image/jpeg",
                              ".jpeg" => "image/jpeg",
                              ".JPEG" => "image/jpeg",
                              ".html" => "text/html",
                              ".txt"  => "text/plain",
                              ".css"  => "text/css" )

While gif-Images match this:


$ curl -I http://efops.serendipia.net/templates/default/img/xml.gif
[...]
Content-Type: image/gif, image/gif

Others seem to not match:


$ curl -I http://efops.serendipia.net/uploads/pics/ow.JPG
HTTP/1.1 200 OK
[...]
Content-Type: application/octet-stream
Actions #1

Updated by jan almost 17 years ago

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

fixed in changeset r266 and r267

Actions

Also available in: Atom