Merge pull request #4983

d14d7de SanitizeString: allow '(' and ')' (Wladimir J. van der Laan)
This commit is contained in:
Pieter Wuille 2014-09-26 19:35:21 +02:00
commit 610a3d3a1b
No known key found for this signature in database
GPG key ID: 57896D2FF8F0B657

View file

@ -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;