Bug#267301: nautilus: won't let me open xsl files w/ gvim

Andres Salomon Andres Salomon <dilinger@voxel.net>, 267301@bugs.debian.org
Sat, 21 Aug 2004 16:21:02 -0400


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

In nautilus, if I double click on an xsl file, I get the following
warning:

The filename "navlink.xsl" indicates that this file is of type "XSLT
stylesheet". The contents of the file indicate that the file is of type
"eXtensible Markup Language document". If you open this file, the file
might present a security risk to your system.

My default action for this is to open the file using gvim (which poses
absolutely no risk to the security of my system).  This warning should
not be coming up.  What's even worse is that if I right-click and select
"Open with 'Text Editor'", it spawns gedit just fine.

I can't see a reason for the warning, unless you're loading something
that understands xsl (such as a web browser).  Unless the check can be
handled more intelligently, it really shouldn't be there at all.


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages nautilus depends on:
ii  capplets                  1:2.6.1-12     configuration applets for GNOME 2 
ii  desktop-file-utils        0.7-1          Utilities for .desktop files
ii  libart-2.0-2              2.3.16-6       Library of functions for 2D graphi
ii  libatk1.0-0               1.6.1-3        The ATK accessibility toolkit
ii  libaudiofile0             0.2.6-4        Open-source version of SGI's audio
ii  libbonobo2-0              2.6.2-5        Bonobo CORBA interfaces library
ii  libbonoboui2-0            2.6.1-1        The Bonobo UI library
ii  libc6                     2.3.2.ds1-16   GNU C Library: Shared libraries an
ii  libeel2-2                 2.7.4-1        Eazel Extensions Library (for GNOM
ii  libesd0                   0.2.34-1       Enlightened Sound Daemon - Shared 
ii  libexif10                 0.6.9-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.7.91.1-1     GNOME configuration database syste
ii  libglade2-0               1:2.4.0-1      Library to load .glade files at ru
ii  libglib2.0-0              2.4.6-1        The GLib library of C routines
ii  libgnome-desktop-2        2.7.91-1       Utility library for loading .deskt
ii  libgnome2-0               2.7.91-1       The GNOME 2 library - runtime file
ii  libgnomecanvas2-0         2.7.1-1        A powerful object-oriented display
ii  libgnomeui-0              2.7.1-1        The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0            2.7.91-2       The GNOME virtual file-system libr
ii  libgtk2.0-0               2.4.4-2        The GTK+ graphical user interface 
ii  libice6                   4.3.0.dfsg.1-6 Inter-Client Exchange library
ii  libjpeg62                 6b-9           The Independent JPEG Group's JPEG 
ii  libnautilus2-2            2.7.4-1        libraries for nautilus components 
ii  liborbit2                 1:2.10.2-1.1   libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0             1.5.2-1        Layout and rendering of internatio
ii  libpopt0                  1.7-4          lib for parsing cmdline parameters
ii  librsvg2-2                2.7.2-5        SAX-based renderer library for SVG
ii  libsm6                    4.3.0.dfsg.1-6 X Window System Session Management
ii  libstartup-notification0  0.7-1          library for program launch feedbac
ii  libx11-6                  4.3.0.dfsg.1-6 X Window System protocol client li
ii  libxml2                   2.6.11-3       GNOME XML library
ii  nautilus-data             2.7.4-1        data files for nautilus
ii  shared-mime-info          0.14-1.1       FreeDesktop.org shared MIME databa
ii  xlibs                     4.3.0.dfsg.1-6 X Window System client libraries m
ii  zlib1g                    1:1.2.1.1-5    compression library - runtime

-- no debconf information