Bug#473313: libtotem-plparser10: ignores files ending with .php3, regardless of mime type given by server headers ?

Jeremy Lal kapouer at melix.org
Sat Mar 29 21:57:35 UTC 2008


Package: libtotem-plparser10
Version: 2.22.1-1
Severity: normal

It seems totem-pl-parser doesn't use http headers to get the mime type 
of the file when given by URL :
test-parser --debug http://www.la-bas.org/podcast.php3
_get_mime_type_for_name for 'http://www.la-bas.org/podcast.php3' 
returned 'application/x-php'
ignored url 'http://www.la-bas.org/podcast.php3'

whereas 
wget http://www.la-bas.org/podcast.php3
...stuff...
Longueur: non spécifié [application/rss+xml]

It would be nonsense to require a RSS be defined only by file name when 
served by http !
I guess it's a minor change in plparser logic, so i'll try to patch it 
myself.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libtotem-plparser10 depends on:
ii  libatk1.0-0                1.22.0-1      The ATK accessibility toolkit
ii  libbonobo2-0               2.22.0-1      Bonobo CORBA interfaces library
ii  libc6                      2.7-10        GNU C Library: Shared libraries
ii  libcairo2                  1.4.14-1      The Cairo 2D vector graphics libra
ii  libcamel1.2-10             1.12.3-1      The Evolution MIME message handlin
ii  libdbus-1-3                1.1.20-1      simple interprocess messaging syst
ii  libedataserver1.2-9        1.12.3-1      Utility library for evolution data
ii  libgconf2-4                2.22.0-1      GNOME configuration database syste
ii  libglib2.0-0               2.16.1-2      The GLib library of C routines
ii  libgnomevfs2-0             1:2.22.0-2    GNOME Virtual File System (runtime
ii  libgtk2.0-0                2.12.9-2      The GTK+ graphical user interface 
ii  libhal1                    0.5.11~rc2-1  Hardware Abstraction Layer - share
ii  liborbit2                  1:2.14.12-0.1 libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0              1.20.0-1      Layout and rendering of internatio
ii  libxml2                    2.6.31.dfsg-2 GNOME XML library

libtotem-plparser10 recommends no packages.

-- no debconf information






More information about the pkg-gnome-maintainers mailing list