Sanitize topic message
authorFlorent Castelli <florent.castelli@gmail.com>
Wed, 16 Oct 2013 21:15:23 +0000 (23:15 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sat, 19 Oct 2013 21:54:56 +0000 (23:54 +0200)
commitad85b33728afd68e858dac7b71be40d12db1710d
treec93567edd8924de68f018900c4269a02a982e1c0
parent5e7e64f8cc0663fbab00b7f44fba6b06a72c1d1b
Sanitize topic message

The code handling the topic message isn't expecting any new lines
since it is usually not possible to have any from the IRC specs.
But we can have some Unicode new lines instead!
Qt is happily converting them to simple new lines which then crashes
the client with a stack overflow.
src/qtui/topicwidget.cpp
src/qtui/topicwidget.h