From 4bf0542857f16b20beb21a718905c1f216561f8a Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Thu, 28 Apr 2005 16:35:37 +0000 Subject: Added parameter support to 'utility::url'. --- src/utility/urlUtils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/utility/urlUtils.cpp') diff --git a/src/utility/urlUtils.cpp b/src/utility/urlUtils.cpp index 70a988cf..c22fc2a7 100644 --- a/src/utility/urlUtils.cpp +++ b/src/utility/urlUtils.cpp @@ -34,7 +34,8 @@ const string urlUtils::encode(const string& s) { const char_t c = *it; - if (parserHelpers::isPrint(c) && !parserHelpers::isSpace(c) && c != '%') + if (parserHelpers::isPrint(c) && !parserHelpers::isSpace(c) && + c != '%' && c != '=' && c != '?' && c != '&') { result += c; } -- cgit