diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-04-13 14:42:38 +0300 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-04-13 14:42:38 +0300 |
commit | ffe93b3c93b628b73c0a809f48c3370f656603bb (patch) | |
tree | c309bc96b5a31e0f39801cf4e991d416cb13ebfb /indra | |
parent | 6f9ea467c2af271baa8cb1a1afc274de4ffe596d (diff) |
SL-10924 Missed symbol
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llcommon/lluri.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llcommon/lluri.cpp b/indra/llcommon/lluri.cpp index e2285d0a9c..9942bc0cf8 100644 --- a/indra/llcommon/lluri.cpp +++ b/indra/llcommon/lluri.cpp @@ -203,7 +203,7 @@ namespace std::string escapeUriQuery(const std::string& s) { return LLURI::escape(s, unreserved() + ":@?&$;*+=%/"); } std::string escapeUriData(const std::string& s) - { return LLURI::escape(s, unreserved()); } + { return LLURI::escape(s, unreserved() + "%"); } std::string escapeUriPath(const std::string& s) { return LLURI::escape(s, path()); } } @@ -249,7 +249,8 @@ std::string LLURI::escapePathAndData(const std::string &str) // Notes: File can be partially pre-escaped, that's why escaping ignores '%' // It somewhat limits user from displaying strings like "%20" in text - // but that's how viewer worked for a while and user can double-encode it + // but that's how viewer worked for a while and user can double-escape it + // Header doesn't need escaping result = header + escapeUriData(data); |