[Pkg-telepathy-maintainers] Bug#523648: empathy: "New message from ..." notifications need to HTML-escape message text
Zack Weinberg
zackw at panix.com
Sat Apr 11 16:25:25 UTC 2009
Package: empathy
Version: 2.26.0-1
Severity: normal
empathy generates a desktop notification when someone sends me an
instant message and I don't already have a chat window open for them.
That's good. But the desktop notification mechanism honors some
subset of HTML tags, e.g. if the message sent was "<i>Hello!</i>"
then the notification shows "Hello!" in italics. It eats tags it
doesn't recognize or that are ill-formed; my SO is in the habit of
instant-messaging me "<3" which shows up as a blank notification.
empathy should be HTML-escaping messages before passing them
to libnotify. [ I looked at the libnotify documentation
and it doesn't mention this at all, but I am guessing
that pango_parse_markup() is being called at some point, see
http://library.gnome.org/devel/pango/stable/PangoMarkupFormat.html --
unfortunately this does not say precisely how to escape arbitrary text.
Empirically, though, < > and & work as in HTML.]
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages empathy depends on:
ii dbus-x11 1.2.12-1 simple interprocess messaging syst
ii libatk1.0-0 1.24.0-2 The ATK accessibility toolkit
ii libbonobo2-0 2.24.1-1 Bonobo CORBA interfaces library
ii libc6 2.9-7 GNU C Library: Shared libraries
ii libcairo2 1.8.6-2+b1 The Cairo 2D vector graphics libra
ii libcanberra-gtk0 0.4-1 Gtk+ helper for playing widget eve
ii libcanberra0 0.4-1 a simple abstract interface for pl
ii libdbus-1-3 1.2.12-1 simple interprocess messaging syst
ii libdbus-glib-1-2 0.80-3 simple interprocess messaging syst
ii libebook1.2-9 2.24.5-4+b1 Client library for evolution addre
ii libedataserver1.2-11 2.24.5-4+b1 Utility library for evolution data
ii libempathy-gtk19 2.26.0-1 High-level library and user-interf
ii libempathy23 2.26.0-1 High-level library and user-interf
ii libenchant1c2a 1.4.2-3.3 a wrapper library for various spel
ii libfontconfig1 2.6.0-3 generic font configuration library
ii libfreetype6 2.3.9-4 FreeType 2 font engine, shared lib
ii libgconf2-4 2.24.0-7 GNOME configuration database syste
ii libglade2-0 1:2.6.4-1 library to load .glade files at ru
ii libglib2.0-0 2.20.0-2 The GLib library of C routines
ii libgnome2-0 2.24.1-2 The GNOME 2 library - runtime file
ii libgstreamer-plugins-b 0.10.22-5 GStreamer libraries from the "base
ii libgstreamer0.10-0 0.10.22-3 Core GStreamer libraries and eleme
ii libgtk2.0-0 2.14.7-5 The GTK+ graphical user interface
ii libmissioncontrol-clie 4.67-2 Library to interact with Telepathy
ii libnotify1 [libnotify1 0.4.5-1 sends desktop notifications to a n
ii liborbit2 1:2.14.17-0.1 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.24.0-3 Layout and rendering of internatio
ii libpopt0 1.14-4 lib for parsing cmdline parameters
ii libsoup2.4-1 2.24.3-2 an HTTP library implementation in
ii libtelepathy-farsight0 0.0.6-1 Glue library between telepathy and
ii libtelepathy-glib0 0.7.29-1 Telepathy framework - GLib library
ii libx11-6 2:1.2.1-1 X11 client-side library
ii libxml2 2.7.3.dfsg-1 GNOME XML library
ii zlib1g 1:1.2.3.3.dfsg-13 compression library - runtime
Versions of packages empathy recommends:
ii gvfs-backends 1.0.3-3 userspace virtual filesystem - bac
ii telepathy-gabble 0.7.26-1 Jabber/XMPP connection manager
ii telepathy-salut 0.3.9-1 Link-local XMPP connection manager
empathy suggests no packages.
-- no debconf information
More information about the Pkg-telepathy-maintainers
mailing list