Bug#243283: nautilus: [experimental] XHTML files with .html suffix cause security warning

Lars Wirzenius Lars Wirzenius <liw@iki.fi>, 243283@bugs.debian.org
Mon, 12 Apr 2004 11:11:37 +0300


Package: nautilus
Version: 2.6.0-1
Severity: normal
Tags: experimental

I have a file call links.html, which contains XHTML 1.0 (it even
validates). Nautilus looks at the filename and deduces that its type is
"text/html" and the contents and deduces the type as "text/xml". If I
double click on the file, since the types are different, it then pops up
an error dialog saying that I can't open it, there is a security problem
(the actual text is in Finnish, due to my locale; I can reproduce it in
English it if is vital).

This is quite annoying. I have no intention of renaming all my web pages
because of Nautilus.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.1-liw-3
Locale: LANG=fi_FI, LC_CTYPE=fi_FI

Versions of packages nautilus depends on:
ii  libart-2.0-2                2.3.16-3     Library of functions for 2D graphi
ii  libatk1.0-0                 1.6.0-2      The ATK accessibility toolkit
ii  libaudiofile0               0.2.6-3      Open-source version of SGI's audio
ii  libbonobo2-0                2.6.0-1      Bonobo CORBA interfaces library
ii  libbonoboui2-0              2.6.0-1      The Bonobo UI library
ii  libbz2-1.0                  1.0.2-1      A high-quality block-sorting file 
ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libeel2-2                   2.6.0-1      Eazel Extensions Library (for GNOM
ii  libesd0                     0.2.29-1     Enlightened Sound Daemon - Shared 
ii  libexif9                    0.5.12-1     The EXIF library allows you to par
ii  libgail-common              1.4.1-1      GNOME Accessibility Implementation
ii  libgail17                   1.4.1-1      GNOME Accessibility Implementation
ii  libgconf2-4                 2.6.0-2      GNOME configuration database syste
ii  libgcrypt7                  1.1.90-1.1   LGPL Crypto library - runtime libr
ii  libglade2-0                 1:2.3.6-4    Library to load .glade files at ru
ii  libglib2.0-0                2.4.0-2      The GLib library of C routines
ii  libgnome-desktop-2          2.6.0-4      Utility library for loading .deskt
ii  libgnome-keyring0           0.2.0-3      GNOME keyring services library
ii  libgnome2-0                 2.6.0-4      The GNOME 2 library - runtime file
ii  libgnomecanvas2-0           2.6.0-3      A powerful object-oriented display
ii  libgnomeui-0                2.6.0-7      The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0              2.6.0-4      The GNOME virtual file-system libr
ii  libgnutls10                 1.0.4-3      GNU TLS library - runtime library
ii  libgpg-error0               0.7-1        library for common error values an
ii  libgsf-1                    1.8.2-6      Structured File Library - runtime 
ii  libgtk2.0-0                 2.4.0-2      The GTK+ graphical user interface 
ii  libice6                     4.3.0-7      Inter-Client Exchange library
ii  libjpeg62                   6b-9         The Independent JPEG Group's JPEG 
ii  libnautilus2-2              2.6.0-1      libraries for nautilus components 
ii  liborbit2                   1:2.10.0-0.1 libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0               1.4.0-1      Layout and rendering of internatio
ii  libpopt0                    1.7-4        lib for parsing cmdline parameters
ii  librsvg2-2                  2.6.3-1      SAX-based renderer library for SVG
ii  libsm6                      4.3.0-7      X Window System Session Management
ii  libstartup-notification0    0.5-9        library for program launch feedbac
ii  libtasn1-2                  0.2.7-1      Manage ASN.1 structures (runtime)
ii  libx11-6                    4.3.0-7      X Window System protocol client li
ii  libxext6                    4.3.0-7      X Window System miscellaneous exte
ii  libxml2                     2.6.8-1      GNOME XML library
ii  libxrender1                 0.8.3-7      X Rendering Extension client libra
ii  nautilus-data               2.6.0-1      data files for nautilus
ii  shared-mime-info            0.14-1       FreeDesktop.org shared MIME databa
ii  xlibs                       4.3.0-7      X Window System client libraries m
ii  zlib1g                      1:1.2.1-5    compression library - runtime

-- no debconf information