gajim show popup with html entities escaped too many times
Bug #205973 reported by
wodny
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gajim (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Hardy |
Fix Released
|
Low
|
Laurent Bigonville |
Bug Description
Binary package hint: gajim
When gajim is unable to connect to one of my accounts it shows a popup informing me about that fact - but, server name is encapsulated in something, that should have been quotes. It shows literally " instead. It suggests escaping html entities too many times.
Gajim 0.11.4 on Ubuntu hardy (development branch) 8.04
ProblemType: Bug
Architecture: i386
Date: Mon Mar 24 13:11:53 2008
DistroRelease: Ubuntu 8.04
Package: gajim 0.11.4-0ubuntu1
PackageArchitec
ProcEnviron:
PATH=/
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gajim
Uname: Linux 2.6.24-12-generic i686
Changed in gajim: | |
importance: | Undecided → Low |
status: | New → Triaged |
To post a comment you must log in.
OK, I will comment myself :-)
as: www.galago- project. org/specs/ notification/ 0.9/x81. html
http://
says:
"The body may contain simple markup as specified in Markup. It must be encoded using UTF-8."
But there is no annotation about markups in summary field. So my conclusion is that summary and body should be treated differently.
In file:
notify.py line 283-284
both are escaped - inside body, entities like " are understood, while for summary (title) it's not true
So my first and the simplest way of fixing, would be NOT escaping title.