aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-09-08 10:44:10 +0000
committerVincent Richard <[email protected]>2005-09-08 10:44:10 +0000
commitc2a41984af56735ec03e97d7206cb9451f7f04b1 (patch)
tree3e9db57bad3718133b73250d36a60a713dec7264
parentNew namespace for message digest algorithms. (diff)
downloadvmime-c2a41984af56735ec03e97d7206cb9451f7f04b1.tar.gz
vmime-c2a41984af56735ec03e97d7206cb9451f7f04b1.zip
Added special characters for encoding.
-rw-r--r--src/utility/urlUtils.cpp3
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;
}