aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-09-26 19:35:21 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2014-09-26 19:36:08 +0200
commit610a3d3a1bd171b963600c55fab715ca2aa30da3 (patch)
tree498b91f1abe02e7dd0864733133c5aabd3b6e71a /src
parentc2db599c1f1ad2d61b8176a2256a80109b0ac8b9 (diff)
parentd14d7deff0a93d81946abec671dc47c967c9b027 (diff)
Merge pull request #4983
d14d7de SanitizeString: allow '(' and ')' (Wladimir J. van der Laan)
Diffstat (limited to 'src')
-rw-r--r--src/utilstrencodings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utilstrencodings.cpp b/src/utilstrencodings.cpp
index 2cec3023b5..b9e64c5fe1 100644
--- a/src/utilstrencodings.cpp
+++ b/src/utilstrencodings.cpp
@@ -16,7 +16,7 @@ using namespace std;
// safeChars chosen to allow simple messages/URLs/email addresses, but avoid anything
// even possibly remotely dangerous like & or >
-static string safeChars("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890 .,;_/:?@");
+static string safeChars("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890 .,;_/:?@()");
string SanitizeString(const string& str)
{
string strResult;