diff options
author | Oz Linden <oz@lindenlab.com> | 2017-05-23 04:56:13 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2017-05-23 04:56:13 -0400 |
commit | 069dd355f90116b500065b40bfb36622be1faee5 (patch) | |
tree | fe6cf12e89a715f46cf4e95ad91a5cf7f0e0c8a9 /indra/llcommon/lluri.cpp | |
parent | f9e049c9e5cc01b464e66cab3e34e33864946c0c (diff) | |
parent | 48af8529a80052e9bc42f81f36896739f8aff861 (diff) |
merge changes for 5.0.5-release
Diffstat (limited to 'indra/llcommon/lluri.cpp')
-rw-r--r-- | indra/llcommon/lluri.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/llcommon/lluri.cpp b/indra/llcommon/lluri.cpp index 9f12d49244..758b98e143 100644 --- a/indra/llcommon/lluri.cpp +++ b/indra/llcommon/lluri.cpp @@ -40,7 +40,8 @@ #include <boost/algorithm/string/find_iterator.hpp> #include <boost/algorithm/string/finder.hpp> -void encode_character(std::ostream& ostr, std::string::value_type val) +// static +void LLURI::encodeCharacter(std::ostream& ostr, std::string::value_type val) { ostr << "%" @@ -95,7 +96,7 @@ std::string LLURI::escape( } else { - encode_character(ostr, c); + encodeCharacter(ostr, c); } } } @@ -106,7 +107,7 @@ std::string LLURI::escape( c = *it; if(allowed.find(c) == std::string::npos) { - encode_character(ostr, c); + encodeCharacter(ostr, c); } else { |