From 0f9ed81563ec8a0e6e2b61fb5a469c2350c794c6 Mon Sep 17 00:00:00 2001 From: Mnikolenko ProductEngine Date: Thu, 23 Apr 2015 11:55:50 +0300 Subject: MAINT-5127 FIXED Just remove nonprintable characters from the string. --- indra/newview/llslurl.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'indra/newview/llslurl.cpp') 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 [ , , , ] 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 -- cgit v1.2.3