diff options
| author | MarcoFalke <[email protected]> | 2015-09-23 12:06:00 +0200 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2015-09-23 12:06:00 +0200 |
| commit | 43edd515e544b46ca548933135326fbe4a4b4e5a (patch) | |
| tree | deed6fc8e6db0a42fe44f1643e2d508c62088618 /src/utilstrencodings.cpp | |
| parent | Merge pull request #6315 (diff) | |
| download | discoin-43edd515e544b46ca548933135326fbe4a4b4e5a.tar.xz discoin-43edd515e544b46ca548933135326fbe4a4b4e5a.zip | |
SanitizeString: Allow hypen char
Diffstat (limited to 'src/utilstrencodings.cpp')
| -rw-r--r-- | src/utilstrencodings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utilstrencodings.cpp b/src/utilstrencodings.cpp index 76c22f735..c5a2b5cdb 100644 --- a/src/utilstrencodings.cpp +++ b/src/utilstrencodings.cpp @@ -18,8 +18,8 @@ static const string CHARS_ALPHA_NUM = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNO static const string SAFE_CHARS[] = { - CHARS_ALPHA_NUM + " .,;_/:?@()", // SAFE_CHARS_DEFAULT - CHARS_ALPHA_NUM + " .,;_?@" // SAFE_CHARS_UA_COMMENT + CHARS_ALPHA_NUM + " .,;-_/:?@()", // SAFE_CHARS_DEFAULT + CHARS_ALPHA_NUM + " .,;-_?@" // SAFE_CHARS_UA_COMMENT }; string SanitizeString(const string& str, int rule) |