Package: icedove
Version: 3.0.11-2
Severity: normal

when an attachment has an extension in uppercase, the "open attachment" option
only allows to save as a file.

i copied the mail on my mail server and only changed the extension to lower
case, and icedove opened the attachment as expected.

this hast been reproduced for:
foo.PDF -> only saving
foo.pdf -> will be opened in desktop standard program

bar.JPG -> only saving
bar.jpg -> opened

baz.DOC -> only saving
baz.doc -> opened

my current workaround is this little snippet executed from time to time:

>> awk '{ printf("%s\t\t",$1);for(i=2;i<=NF;i++){printf("%s %s
",$i,toupper($i))};printf("\n")}' < /etc/mime.types > ~/.mime.types

it copies all mime types from /etc/mime.types and adds the extensions as
uppercase.

this works until someone send me an email with an attachment qux.Pdf...

the "mimetype" program seems to use .tolower() (or something alike) on the
extension if it can not find a mime-type for an upper-case extension.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages icedove depends on:
ii  debianutils      3.4.4                   Miscellaneous utilities specific t
ii  fontconfig       2.8.0-2.1               generic font configuration library
ii  libasound2       1.0.23-2.1              shared library for ALSA applicatio
ii  libatk1.0-0      1.32.0-1+sid1           The ATK accessibility toolkit
ii  libc6            2.11.2-11               Embedded GNU C Library: Shared lib
ii  libcairo2        1.10.2-6                The Cairo 2D vector graphics libra
ii  libdbus-1-3      1.4.6-1                 simple interprocess messaging syst
ii  libfontconfig1   2.8.0-2.1               generic font configuration library
ii  libfreetype6     2.4.4-1                 FreeType 2 font engine, shared lib
ii  libgcc1          1:4.5.2-4               GCC support library
ii  libglib2.0-0     2.28.4-1                The GLib library of C routines
ii  libgtk2.0-0      2.24.3-1~sid1           The GTK+ graphical user interface 
ii  libjpeg62        6b1-1                   The Independent JPEG Group's JPEG 
ii  libnspr4-0d      4.8.7-2                 NetScape Portable Runtime Library
ii  libnss3-1d       3.12.9.with.ckbi.1.82-1 Network Security Service libraries
ii  libpango1.0-0    1.28.3-1+squeeze2       Layout and rendering of internatio
ii  libpng12-0       1.2.44-2                PNG library - runtime
ii  libsqlite3-0     3.7.5-1                 SQLite 3 shared library
ii  libstartup-notif 0.10-1                  library for program launch feedbac
ii  libstdc++6       4.5.2-4                 The GNU Standard C++ Library v3
ii  libx11-6         2:1.4.2-1               X11 client-side library
ii  libxrender1      1:0.9.6-1               X Rendering Extension client libra
ii  libxt6           1:1.1.1-1               X11 toolkit intrinsics library
ii  psmisc           22.13-1                 utilities that use the proc file s
ii  zlib1g           1:1.2.3.4.dfsg-3        compression library - runtime

Versions of packages icedove recommends:
ii  myspell-de-at [myspell-dictio 20100727-1 Austrian (German) dictionary for m
ii  myspell-de-ch [myspell-dictio 20100727-1 Swiss (German) dictionary for mysp
ii  myspell-de-de [myspell-dictio 20100727-1 German dictionary for myspell
ii  myspell-en-us [myspell-dictio 1:3.3.0-3  English_american dictionary for my

Versions of packages icedove suggests:
ii  libdbus-glib-1-2             0.92-1      simple interprocess messaging syst
ii  libgconf2-4                  2.28.1-6    GNOME configuration database syste
ii  libgnome2-0                  2.30.0-1    The GNOME library - runtime files
ii  libgnomevfs2-0               1:2.24.4-1  GNOME Virtual File System (runtime
ii  libgssapi-krb5-2             1.9+dfsg-1  MIT Kerberos runtime libraries - k
ii  ttf-lyx                      2.0.0~rc1-1 TrueType versions of some TeX font

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to