Debian Bug report logs - #543771
gwibber: notifications do not unescape XML entities

version graph

Package: gwibber; Maintainer for gwibber is David Riebenbauer <davrieb@liegesta.at>; Source for gwibber is src:gwibber.

Reported by: "brian m. carlson" <sandals@crustytoothpaste.net>

Date: Wed, 26 Aug 2009 20:48:53 UTC

Severity: minor

Tags: upstream

Found in version gwibber/1.2.0+bzr355-2

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Filip Chabik <hadret@gmail.com>:
Bug#543771; Package gwibber. (Wed, 26 Aug 2009 20:49:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to "brian m. carlson" <sandals@crustytoothpaste.ath.cx>:
New Bug report received and forwarded. Copy sent to Filip Chabik <hadret@gmail.com>. (Wed, 26 Aug 2009 20:49:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: "brian m. carlson" <sandals@crustytoothpaste.ath.cx>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gwibber: notifications do not unescape XML entities
Date: Wed, 26 Aug 2009 20:41:07 +0000
[Message part 1 (text/plain, inline)]
Package: gwibber
Version: 1.2.0+bzr355-2
Severity: minor

When I receive a tweet containing a < symbol, it appears properly in the
Messages tab, but the notifications for it use &lt; instead.  I presume
the same thing happens for other XML entities.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-rc6-amd64 (SMP w/2 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 gwibber depends on:
ii  libjs-jquery                  1.3.3-1    JavaScript library for dynamic web
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-dbus                   0.83.0-1   simple interprocess messaging syst
ii  python-distutils-extra        2.9        enhancements to the Python build s
ii  python-egenix-mxdatetime      3.1.2-1    date and time handling routines fo
ii  python-feedparser             4.1-14     Universal Feed Parser for Python
ii  python-gconf                  2.26.1-1   Python bindings for the GConf conf
ii  python-glade2                 2.14.1-3   GTK+ bindings: Glade support
ii  python-gtk2                   2.14.1-3   Python bindings for the GTK+ widge
ii  python-imaging                1.1.6-3    Python Imaging Library
ii  python-mako                   0.2.4-2    fast and lightweight templating fo
ii  python-notify                 0.1.1-2+b1 Python bindings for libnotify
ii  python-simplejson             2.0.9-1    Simple, fast, extensible JSON enco
ii  python-support                1.0.3      automated rebuilding support for P
ii  python-webkit                 1.1.5-1    WebKit/Gtk Python bindings
ii  python-xdg                    0.15-1.1   A python library to access freedes

gwibber recommends no packages.

gwibber suggests no packages.

-- no debconf information

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Filip Chabik <hadret@gmail.com>:
Bug#543771; Package gwibber. (Thu, 27 Aug 2009 12:07:36 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kartik Mistry <kartik.mistry@gmail.com>:
Extra info received and forwarded to list. Copy sent to Filip Chabik <hadret@gmail.com>. (Thu, 27 Aug 2009 12:07:36 GMT) Full text and rfc822 format available.

Message #10 received at 543771@bugs.debian.org (full text, mbox):

From: Kartik Mistry <kartik.mistry@gmail.com>
To: "brian m. carlson" <sandals@crustytoothpaste.ath.cx>, 543771@bugs.debian.org, Filip Chabik <debian@hadret.com>
Cc: control@bugs.debian.org
Subject: Re: Bug#543771: gwibber: notifications do not unescape XML entities
Date: Thu, 27 Aug 2009 17:33:24 +0530
tags 543771 upstream
thanks

On Thu, Aug 27, 2009 at 2:11 AM, brian m.
carlson<sandals@crustytoothpaste.ath.cx> wrote:
> When I receive a tweet containing a < symbol, it appears properly in the
> Messages tab, but the notifications for it use &lt; instead.  I presume
> the same thing happens for other XML entities.

Hi,

Thanks for reporting bug and using Gwibber!

This is probably upstream bug,
https://bugs.launchpad.net/gwibber/+bug/297912

-- 
 Cheers,
 Kartik Mistry | 0xD1028C8D | IRC: kart_
 Debian GNU/Linux Developer
 Blogs: {ftbfs, kartikm}.wordpress.com




Added tag(s) upstream. Request was from Kartik Mistry <kartik.mistry@gmail.com> to control@bugs.debian.org. (Thu, 27 Aug 2009 12:07:52 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Filip Chabik <hadret@gmail.com>:
Bug#543771; Package gwibber. (Fri, 30 Apr 2010 06:27:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Luca Bedogni <me@lucabedogni.it>:
Extra info received and forwarded to list. Copy sent to Filip Chabik <hadret@gmail.com>. (Fri, 30 Apr 2010 06:27:04 GMT) Full text and rfc822 format available.

Message #17 received at 543771@bugs.debian.org (full text, mbox):

From: Luca Bedogni <me@lucabedogni.it>
To: 543771@bugs.debian.org
Date: Fri, 30 Apr 2010 08:24:31 +0200
[Message part 1 (text/plain, inline)]
tags 543771 patch
thanks

Hi
   i looked into the code a bit and I think I solved the problem with this
simple patch:
--- gwibber/client.py   2009-08-28 09:28:19.000000000 +0200
+++ gwibber/client.py   2010-04-30 08:12:14.000000000 +0200
@@ -1067,7 +1067,7 @@
     new_messages.reverse()
     if len(new_messages) > 0:
         for index, message in enumerate(new_messages):
-            body = microblog.support.xml_escape(message.text)
+            body = message.text
             image = hasattr(message, "image_path") and message.image_path
or ''
             expire_timeout = 5000 + (index*2000) # default to 5 second
timeout and increase by 2 second for each notification
             n = gintegration.notify(message.sender, body, image, ["reply",
"Reply"], expire_timeout)


--
Luca Bedogni
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Filip Chabik <hadret@gmail.com>:
Bug#543771; Package gwibber. (Fri, 30 Apr 2010 06:33:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Luca Bedogni <me@lucabedogni.it>:
Extra info received and forwarded to list. Copy sent to Filip Chabik <hadret@gmail.com>. (Fri, 30 Apr 2010 06:33:07 GMT) Full text and rfc822 format available.

Message #22 received at 543771@bugs.debian.org (full text, mbox):

From: Luca Bedogni <me@lucabedogni.it>
To: 543771@bugs.debian.org
Date: Fri, 30 Apr 2010 08:32:30 +0200
I think that the problem is solved upstream even without my patch,
which maybe add some confusion.
I'm ok with the debian version as I can see characters correctly in
the notifications area too.
Regards

--
Luca Bedogni




Changed Bug submitter to '"brian m. carlson" <sandals@crustytoothpaste.net>' from '"brian m. carlson" <sandals@crustytoothpaste.ath.cx>' Request was from "brian m. carlson" <sandals@crustytoothpaste.net> to control@bugs.debian.org. (Thu, 03 Feb 2011 20:51:47 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 12:40:28 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.