diff options
| -rwxr-xr-x | indra/newview/llslurl.cpp | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/indra/newview/llslurl.cpp b/indra/newview/llslurl.cpp index 3a82233320..ac17632562 100755 --- a/indra/newview/llslurl.cpp +++ b/indra/newview/llslurl.cpp @@ -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 | 
