JID not escaped in notifications sent through D-Bus and Notification-Daemon
Bug description
Notifications sent through D-Bus and Notification-Daemon are not propoerly escaped before being formatted.
For instance, a message received from jid euxane_%irc.freenode.net
(1) will have %i
expanded and will be sent as such:
(1) this format of jid is valid and is used by bridges like Biboumi.
Steps to reproduce
Receive a message from a jid containing %i
while using D-Bus and Notification-Daemon.
Software versions
OS version: Linux 3.16.0-4-amd64 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux
GTK version: libgtk2.0-0 2.24.25-3+deb8u1 and libgtk-3-0 3.14.5-1.1
PyGTK version: python-gtk2 2.24.0-4