From e0491e29299672a91a02005797f92aa52d3d95c8 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 6 May 2015 16:22:53 +0200 Subject: [PATCH] BUG-9154: Fragment is cut off if URI contains no query part --- indra/llcommon/lluriparser.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/indra/llcommon/lluriparser.cpp b/indra/llcommon/lluriparser.cpp index 8961cef760..14f4d2e903 100644 --- a/indra/llcommon/lluriparser.cpp +++ b/indra/llcommon/lluriparser.cpp @@ -275,12 +275,17 @@ void LLUriParser::glueSecond(std::string& uri) const uri += '?'; uri += mQuery; + // BUG-9154: Fragment is cut off + } + // + if (mFragment.size()) { uri += '#'; uri += mFragment; } - } + // BUG-9154 + //} } bool LLUriParser::test() const