MAINT-5127 FIXED Just remove nonprintable characters from the string.
parent
48bc511e59
commit
0f9ed81563
|
|
@ -271,7 +271,14 @@ LLSLURL::LLSLURL(const std::string& slurl)
|
|||
// at this point, head of the path array should be [ <region>, <x>, <y>, <z> ] where x, y and z
|
||||
// are collectively optional
|
||||
// are optional
|
||||
|
||||
mRegion = LLURI::unescape(path_array[0].asString());
|
||||
|
||||
if(LLStringUtil::containsNonprintable(mRegion))
|
||||
{
|
||||
LLStringUtil::stripNonprintable(mRegion);
|
||||
}
|
||||
|
||||
path_array.erase(0);
|
||||
|
||||
// parse the x, y, and optionally z
|
||||
|
|
|
|||
Loading…
Reference in New Issue