diff options
| author | Pieter Wuille <[email protected]> | 2014-09-26 19:35:21 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-09-26 19:36:08 +0200 |
| commit | 610a3d3a1bd171b963600c55fab715ca2aa30da3 (patch) | |
| tree | 498b91f1abe02e7dd0864733133c5aabd3b6e71a /src/utilstrencodings.cpp | |
| parent | Merge pull request #4977 (diff) | |
| parent | SanitizeString: allow '(' and ')' (diff) | |
| download | discoin-610a3d3a1bd171b963600c55fab715ca2aa30da3.tar.xz discoin-610a3d3a1bd171b963600c55fab715ca2aa30da3.zip | |
Merge pull request #4983
d14d7de SanitizeString: allow '(' and ')' (Wladimir J. van der Laan)
Diffstat (limited to 'src/utilstrencodings.cpp')
| -rw-r--r-- | src/utilstrencodings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utilstrencodings.cpp b/src/utilstrencodings.cpp index 2cec3023b..b9e64c5fe 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; |