Pieter Wuille
10 years ago
No known key found for this signature in database
GPG Key ID: 57896D2FF8F0B657
1 changed files with
1 additions and
1 deletions
-
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; |
|
|
|