From c2a41984af56735ec03e97d7206cb9451f7f04b1 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Thu, 8 Sep 2005 10:44:10 +0000 Subject: [PATCH] Added special characters for encoding. --- src/utility/urlUtils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }