secondlife/viewer#2395 fix start location coordinates getting double escaped

meow-7.2.2
Brad Linden 2024-08-26 14:49:11 -07:00
parent 0edf6e230e
commit 3e2866f876
1 changed files with 3 additions and 2 deletions

View File

@ -602,13 +602,14 @@ std::string construct_start_string()
{
// a startup URL was specified
LLVector3 position = start_slurl.getPosition();
std::string unescaped_start =
// NOTE - do not xml escape here, will get escaped properly later by LLSD::asXMLRPCValue()
// see secondlife/viewer#2395
start =
STRINGIZE( "uri:"
<< start_slurl.getRegion() << "&"
<< position[VX] << "&"
<< position[VY] << "&"
<< position[VZ]);
start = LLStringFn::xml_encode(unescaped_start, true);
break;
}
case LLSLURL::HOME_LOCATION: