diff options
author | Lynx Linden <lynx@lindenlab.com> | 2010-01-11 15:05:01 +0000 |
---|---|---|
committer | Lynx Linden <lynx@lindenlab.com> | 2010-01-11 15:05:01 +0000 |
commit | 92b569a6079f55009dd9c291e9d7c56a00baf247 (patch) | |
tree | d7b97c575648d9c7a2132a9a64fdd6fcf0f503a3 /indra/newview/llpanelavatar.cpp | |
parent | 1d9591afbe5946f0e3a75aea917097f6a08d8ce5 (diff) |
EXT-3928: Escape group names in the profile panel URLs.
Diffstat (limited to 'indra/newview/llpanelavatar.cpp')
-rw-r--r-- | indra/newview/llpanelavatar.cpp | 4 |
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; } |