>>> import pynotify
>>> alert = pynotify.Notification("Hi", "Bye & Pye")
The corresponding notification: http://i.imgur.com/qzb8j.png
First, I thought that it's related to python module so I checked using the libnotify library in c instead.
So, I executed this program. http://sprunge.us/NAgO
with command: ./a.out "Heading" "Body & notification"
Got the same result. No body if I have & in body.
Please inform if you need something more.
Why do you think this is a D-Bus core issue?
Please try with another destination program that is not notification-daemon. Tell us if the & is received properly.
Frankly, I don't know much about whether it's a dbus core issue. Dbus was the only topic which was relevant to the bug, so I posted it here.
I believe this is from the notification-daemon. Please report it there.
Also note that it might be intentional. Check the manual for that program.
I suspect the notification daemon might expect the string to be HTML (or XML), in which & is a special character. Try escaping it to &.
Regardless, that's not a bug in D-Bus or dbus-python.
Indeed, you are right.