diff --git a/indra/llui/llurlregistry.cpp b/indra/llui/llurlregistry.cpp index d496f9b353..6e368e49d4 100755 --- a/indra/llui/llurlregistry.cpp +++ b/indra/llui/llurlregistry.cpp @@ -285,7 +285,10 @@ bool LLUrlRegistry::findUrl(const std::string &text, LLUrlMatch &match, const LL std::string url = text.substr(match_start, match_end - match_start + 1); LLUrlEntryBase *stripped_entry = NULL; - if(LLStringUtil::containsNonprintable(url)) + // BUG-10491: Don't screw the NoLink SLURL match! + //if(LLStringUtil::containsNonprintable(url)) + if (match_entry != mUrlEntryNoLink && LLStringUtil::containsNonprintable(url)) + // { LLStringUtil::stripNonprintable(url);