From ac9543be9eb6e3c4b929142d0d2758ebf1885ac8 Mon Sep 17 00:00:00 2001 From: Vladimir Pchelko Date: Thu, 10 Jun 2010 16:32:41 +0300 Subject: EXT-6654 FIXED Using escaped (LLURI::escape()) text for objects link. reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/543/ --HG-- branch : product-engine --- indra/newview/llchathistory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp index 0bd03571da..961969a5c5 100644 --- a/indra/newview/llchathistory.cpp +++ b/indra/newview/llchathistory.cpp @@ -667,7 +667,7 @@ void LLChatHistory::appendMessage(const LLChat& chat, const LLSD &args, const LL // (don't let object names with hyperlinks override our objectim Url) LLStyle::Params link_params(style_params); link_params.color.control = "HTMLLinkColor"; - link_params.link_href = url; + link_params.link_href = LLURI::escape(url); mEditor->appendText("" + chat.mFromName + "" + delimiter, false, link_params); } -- cgit v1.2.3