diff options
-rw-r--r-- | app/models/incoming_message.rb | 5 | ||||
-rw-r--r-- | public/images/icon_image_jpeg_large.png | bin | 0 -> 2633 bytes | |||
-rw-r--r-- | todo.txt | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb index 78efa2acd..0a5e6bba2 100644 --- a/app/models/incoming_message.rb +++ b/app/models/incoming_message.rb @@ -17,7 +17,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: incoming_message.rb,v 1.90 2008-04-21 16:44:06 francis Exp $ +# $Id: incoming_message.rb,v 1.91 2008-04-21 21:48:50 francis Exp $ # TODO # Move some of the (e.g. quoting) functions here into rblib, as they feel @@ -51,7 +51,8 @@ $file_extension_to_mime_type = { "xls" => 'application/msexcel', "tif" => 'image/tiff', "gif" => 'image/gif', - "html" => 'text/html', + "jpg" => 'image/jpeg', # XXX add jpeg + "html" => 'text/html', # XXX add htm } # XXX doesn't have way of choosing default for inverse map - might want to add # one when you need it diff --git a/public/images/icon_image_jpeg_large.png b/public/images/icon_image_jpeg_large.png Binary files differnew file mode 100644 index 000000000..fd50a889d --- /dev/null +++ b/public/images/icon_image_jpeg_large.png @@ -188,6 +188,7 @@ Quoting fixing TODO: http://www.whatdotheyknow.com/request/94/response/161 http://www.whatdotheyknow.com/request/sale_of_public_land_in_worcester http://www.whatdotheyknow.com/request/35/response/191 + http://www.whatdotheyknow.com/request/88/response/352 (and charset) Sources of public bodies ======================== |