summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tools/StringTools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/StringTools.cpp b/src/tools/StringTools.cpp
index 0a6dbc3..c682b35 100644
--- a/src/tools/StringTools.cpp
+++ b/src/tools/StringTools.cpp
@@ -84,7 +84,7 @@ string generateRandomString(size_t length) {
return result;
}
-string urlEncode(const string& value, const std::string additionalLegitChars) {
+string urlEncode(const string& value, const std::string& additionalLegitChars) {
static const string legitPunctuation = "-_.~";
ostringstream result;
result.fill('0');