From 45a75fd9c1b8940ac0ced50355c1f1e9e1634e97 Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Tue, 15 Sep 2009 10:48:07 +0200 Subject: [PATCH] Escape % in hostnames --- src/uisupport/uistyle.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- 2.20.1