BUG-9154: Fragment is cut off if URI contains no query part

meow-7.2.2
Ansariel 2015-05-06 16:22:53 +02:00
parent af38faedbb
commit e0491e2929
1 changed files with 6 additions and 1 deletions

View File

@ -275,12 +275,17 @@ void LLUriParser::glueSecond(std::string& uri) const
uri += '?';
uri += mQuery;
// <FS:Ansariel> BUG-9154: Fragment is cut off
}
// </FS:Ansariel>
if (mFragment.size())
{
uri += '#';
uri += mFragment;
}
}
// <FS:Ansariel> BUG-9154
//}
}
bool LLUriParser::test() const