Added special characters for encoding.

This commit is contained in:
Vincent Richard 2005-09-08 10:44:10 +00:00
parent 3b1fcbe825
commit c2a41984af

View File

@ -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;
}