MAINT-5127 FIXED Just remove nonprintable characters from the string.

meow-7.2.2
Mnikolenko ProductEngine 2015-04-23 11:55:50 +03:00
parent 48bc511e59
commit 0f9ed81563
1 changed files with 7 additions and 0 deletions

View File

@ -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