From 60b34c25c0d62bdfd4ffde1a10784987af364aa5 Mon Sep 17 00:00:00 2001 From: VladiMihaylenko Date: Tue, 4 Apr 2017 15:59:22 +0300 Subject: Review fixes. --- coding/uri.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'coding') 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; } -- cgit v1.2.3