From 96fe8a69de450f6d39b1237c9dfac344cf6b8018 Mon Sep 17 00:00:00 2001 From: Martin Date: Sun, 30 Mar 2014 03:49:48 +0200 Subject: [PATCH] Properly handle + in urls --- stringtools.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stringtools.cpp b/stringtools.cpp index e6680efe..87e0d465 100644 --- a/stringtools.cpp +++ b/stringtools.cpp @@ -1378,6 +1378,10 @@ wstring htmldecode(string str, bool html, char xc) } i+=2; } + else if(str[i]=='+' && !html) + { + tmp+=' '; + } else { tmp+=str[i];