diff options
author | AndreyL ProductEngine <andreylproductengine@lindenlab.com> | 2015-08-20 12:04:57 +0300 |
---|---|---|
committer | AndreyL ProductEngine <andreylproductengine@lindenlab.com> | 2015-08-20 12:04:57 +0300 |
commit | 9c391b3deaf66e698590065b6770549e00f4d9bc (patch) | |
tree | 4e42af132d7b59f7a4d4ddcf627f6d4321826ac5 /indra | |
parent | 0bbb17226cc7e6d86c61d8e1cc34291343282d1f (diff) |
MAINT-5533 FIXED The fragment part of an URI is only shown if it contains a query part as well.
fix by Ansariel
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llcommon/lluriparser.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/llcommon/lluriparser.cpp b/indra/llcommon/lluriparser.cpp index d98bc297e5..82d0dc8b4b 100644 --- a/indra/llcommon/lluriparser.cpp +++ b/indra/llcommon/lluriparser.cpp @@ -238,12 +238,12 @@ void LLUriParser::glueSecond(std::string& uri) const { uri += '?'; uri += mQuery; + } - if (mFragment.size()) - { - uri += '#'; - uri += mFragment; - } + if (mFragment.size()) + { + uri += '#'; + uri += mFragment; } } |