Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'coding/uri.cpp')
-rw-r--r--coding/uri.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/coding/uri.cpp b/coding/uri.cpp
index 4894e7df9f..46b3b2ef32 100644
--- a/coding/uri.cpp
+++ b/coding/uri.cpp
@@ -2,7 +2,7 @@
#include "coding/url_encode.hpp"
#include "base/assert.hpp"
-
+#include "base/string_utils.hpp"
namespace url_scheme
{
@@ -53,7 +53,7 @@ bool Uri::ForEachKeyValue(TCallback const & callback) const
size_t const count = m_url.size();
size_t const queryStart = m_queryStart;
- // Just a URL without parametrs.
+ // Just a URL without parameters.
if (queryStart == count)
return false;
@@ -77,6 +77,7 @@ bool Uri::ForEachKeyValue(TCallback const & callback) const
else
key = UrlDecode(m_url.substr(start, end - start));
+ strings::AsciiToLower(key);
if (!callback(key, value))
return false;
}