diff options
| author | Vincent Richard <[email protected]> | 2005-04-28 18:35:37 +0200 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2005-04-28 18:35:37 +0200 |
| commit | 4bf0542857f16b20beb21a718905c1f216561f8a (patch) | |
| tree | 9ebc32226cb128c107cbf78c10a3ce3d4fd71613 /src/utility/urlUtils.cpp | |
| parent | Sendmail implementation + filtered streams. (diff) | |
| download | vmime-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.cpp | 3 |
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; } |
