diff options
author | MarcoFalke <falke.marco@gmail.com> | 2015-09-23 12:06:00 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2015-09-23 12:06:00 +0200 |
commit | 43edd515e544b46ca548933135326fbe4a4b4e5a (patch) | |
tree | deed6fc8e6db0a42fe44f1643e2d508c62088618 /src/utilstrencodings.cpp | |
parent | e59d2a80f9167031521d882394a08b02fa9d0343 (diff) |
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 76c22f7353..c5a2b5cdbb 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) |