From: Manuel Nickschas Date: Tue, 15 Sep 2009 08:48:07 +0000 (+0200) Subject: Escape % in hostnames X-Git-Tag: 0.5-rc2~37 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=45a75fd9c1b8940ac0ced50355c1f1e9e1634e97 Escape % in hostnames --- diff --git a/src/uisupport/uistyle.cpp b/src/uisupport/uistyle.cpp index e81f9077..b74e1b7c 100644 --- a/src/uisupport/uistyle.cpp +++ b/src/uisupport/uistyle.cpp @@ -552,6 +552,7 @@ void UiStyle::StyledMessage::style() const { QString txt = UiStyle::mircToInternal(contents()); QString bufferName = bufferInfo().bufferName(); bufferName.replace('%', "%%"); // well, you _can_ have a % in a buffername apparently... -_- + host.replace('%', "%%"); // hostnames too... const int maxNetsplitNicks = 15; QString t;