aboutsummaryrefslogtreecommitdiffstats
path: root/src/utility/urlUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utility/urlUtils.cpp')
-rw-r--r--src/utility/urlUtils.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utility/urlUtils.cpp b/src/utility/urlUtils.cpp
index 70a988cf..c22fc2a7 100644
--- a/src/utility/urlUtils.cpp
+++ b/src/utility/urlUtils.cpp
@@ -34,7 +34,8 @@ const string urlUtils::encode(const string& s)
{
const char_t c = *it;
- if (parserHelpers::isPrint(c) && !parserHelpers::isSpace(c) && c != '%')
+ if (parserHelpers::isPrint(c) && !parserHelpers::isSpace(c) &&
+ c != '%' && c != '=' && c != '?' && c != '&')
{
result += c;
}