Status messages are not properly escaped, can result in a mangled config file.
Setting the default status messages containing a "=" character results in a change in a configuration file where the "=" is not escaped.
After quitting and restarting Gajim, the status presets with "=" character are lost (in a better scenario) or sometimes results in a mangled configuration file (in a worse scenario).
Steps to reproduce
Go to Preferences -> Status and set the a default status message (for Away, FFC etc.) as, for example, "a = b".
The "a = b" gets written to the config file unescaped like this:
defaultstatusmsg.away.message = a = b
and the setting is lost once the client is restarted.
The "mangled" configuration scenario resulted after the option "restore_last_status" was set to True (activated). Afterwards, the configuration variables ("defaultstatusmsg.away.message", etc.) got multiplied.
OS version: Debian GNU/Linux (32bit, stable/testing/unstable mix...)
GTK version: 2.24.23
PyGTK version: 2.24.0
Best regards, Jan Jansky