summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorLynx Linden <lynx@lindenlab.com>2010-01-11 15:05:01 +0000
committerLynx Linden <lynx@lindenlab.com>2010-01-11 15:05:01 +0000
commit92b569a6079f55009dd9c291e9d7c56a00baf247 (patch)
treed7b97c575648d9c7a2132a9a64fdd6fcf0f503a3 /indra/newview
parent1d9591afbe5946f0e3a75aea917097f6a08d8ce5 (diff)
EXT-3928: Escape group names in the profile panel URLs.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llpanelavatar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llpanelavatar.cpp b/indra/newview/llpanelavatar.cpp
index f3d6dbbb46..fb898f7cdf 100644
--- a/indra/newview/llpanelavatar.cpp
+++ b/indra/newview/llpanelavatar.cpp
@@ -594,8 +594,8 @@ void LLPanelAvatarProfile::processGroupProperties(const LLAvatarGroups* avatar_g
if (it != mGroups.begin())
groups += ", ";
-
- std::string group_url="[secondlife:///app/group/" + it->second.asString() + "/about " + it->first + "]";
+ std::string group_name = LLURI::escape(it->first);
+ std::string group_url="[secondlife:///app/group/" + it->second.asString() + "/about " + group_name + "]";
groups += group_url;
}