Comment 9 for bug 1288401

Revision history for this message
Martin Owens (doctormo) wrote :

This isn't the right fix. if the texts need to be escaped, they should be escaped where they are consumed by gtk labels and not before. Otherwise prints to the command line or dbus interactions, log files will all contain the escaped version instead of the actual text.

selection-describer.cpp:167 is the best place to put the escaping as we'll catch many more unescaping issues from any object.

I have a todo item to move the description/name code to using std::string (but that's another issue)