Actions
Bug #94
closedmimetype assignment does not work always
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
Updated by jan about 20 years ago
- Status changed from New to Fixed
- Resolution set to fixed
fixed in changeset r266 and r267
Actions
Also available in: Atom