aboutsummaryrefslogtreecommitdiffstats
path: root/src/utility/urlUtils.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-04-28 18:35:37 +0200
committerVincent Richard <[email protected]>2005-04-28 18:35:37 +0200
commit4bf0542857f16b20beb21a718905c1f216561f8a (patch)
tree9ebc32226cb128c107cbf78c10a3ce3d4fd71613 /src/utility/urlUtils.cpp
parentSendmail implementation + filtered streams. (diff)
downloadvmime-4bf0542857f16b20beb21a718905c1f216561f8a.tar.gz
vmime-4bf0542857f16b20beb21a718905c1f216561f8a.zip
Added parameter support to 'utility::url'.
Diffstat (limited to 'src/utility/urlUtils.cpp')
-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 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;
}