diff options
author | Vincent Richard <[email protected]> | 2005-09-08 10:44:10 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2005-09-08 10:44:10 +0000 |
commit | c2a41984af56735ec03e97d7206cb9451f7f04b1 (patch) | |
tree | 3e9db57bad3718133b73250d36a60a713dec7264 | |
parent | New namespace for message digest algorithms. (diff) | |
download | vmime-c2a41984af56735ec03e97d7206cb9451f7f04b1.tar.gz vmime-c2a41984af56735ec03e97d7206cb9451f7f04b1.zip |
Added special characters for encoding.
-rw-r--r-- | src/utility/urlUtils.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utility/urlUtils.cpp b/src/utility/urlUtils.cpp index c22fc2a7..8153bbbe 100644 --- a/src/utility/urlUtils.cpp +++ b/src/utility/urlUtils.cpp @@ -35,7 +35,8 @@ const string urlUtils::encode(const string& s) const char_t c = *it; if (parserHelpers::isPrint(c) && !parserHelpers::isSpace(c) && - c != '%' && c != '=' && c != '?' && c != '&') + c != '%' && c != '=' && c != '?' && c != '&' && + c != '@' && c != '/' && c != ':') { result += c; } |