TpDebugSender should fix invalid UTF-8 strings
@jonnylamb
Submitted by Jonny Lamb Assigned to Telepathy bugs list
Description
A CM can call tp_debug_sender_add_message with an invalid UTF-8 string and, assuming the debugger is disabled, the string will sit in the debugger until GetMessages() is called, when it will make the CM be disconnected from the bus.
We should:
... in the short term, only allow valid UTF-8 strings to be added to the debugger.
... in the long term, have some function (ideally in GLib, but yeah) to fix up bad strings munging the badness out of them. Apparently pidgin has a good function for task.
Version: git master