summaryrefslogtreecommitdiff
path: root/indra/llui/llurlentry.cpp
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2015-04-15 13:16:23 +0300
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2015-04-15 13:16:23 +0300
commitcccde14f9b2eb66cd9bea00d7e3843bca498a715 (patch)
tree5bba2963dabcdeb3cb4b0329578523bc3e21e22f /indra/llui/llurlentry.cpp
parent99c5f36f204759af1a81268be0bc72dd69789de4 (diff)
MAINT-5058 FIXED Get the query string by simple extracting it from whole url.
Diffstat (limited to 'indra/llui/llurlentry.cpp')
-rwxr-xr-xindra/llui/llurlentry.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llui/llurlentry.cpp b/indra/llui/llurlentry.cpp
index e18d7405ab..344791f491 100755
--- a/indra/llui/llurlentry.cpp
+++ b/indra/llui/llurlentry.cpp
@@ -204,10 +204,10 @@ std::string LLUrlEntryBase::urlToGreyQuery(const std::string &url) const
{
LLUriParser up(unescapeUrl(url));
- std::string query;
+ std::string label;
up.extractParts();
- up.glueSecond(query);
-
+ up.glueFirst(label);
+ std::string query = url.substr(label.size());
return query;
}