Commit eb63cf30 authored by Peter Simonsson's avatar Peter Simonsson

Handle \ in nicks when opening new query in ircview

BUG: 431045
parent 2697f597
......@@ -2140,6 +2140,8 @@ void IRCView::openLink(const QUrl& url)
link.replace (QLatin1String("%7C"), QLatin1String("|"));
// HACK Handle ` as toString doesn't seem to decode that correctly
link.replace (QLatin1String("%60"), QLatin1String("`"));
// HACK Handle \ as toString doesn't decode it
link.replace(QLatin1String("%5C"), QLatin1String("\\"));
if (!link.isEmpty() && !link.startsWith(QLatin1Char('#')))
Application::openUrl(QString::fromUtf8(url.toEncoded()));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment