Skip to content
Snippets Groups Projects
Commit 92b569a6 authored by Lynx Linden's avatar Lynx Linden
Browse files

EXT-3928: Escape group names in the profile panel URLs.

parent 1d9591af
No related branches found
No related tags found
No related merge requests found
...@@ -101,7 +101,7 @@ std::string LLUrlEntryBase::getLabelFromWikiLink(const std::string &url) ...@@ -101,7 +101,7 @@ std::string LLUrlEntryBase::getLabelFromWikiLink(const std::string &url)
{ {
start++; start++;
} }
return url.substr(start, url.size()-start-1); return unescapeUrl(url.substr(start, url.size()-start-1));
} }
std::string LLUrlEntryBase::getUrlFromWikiLink(const std::string &string) std::string LLUrlEntryBase::getUrlFromWikiLink(const std::string &string)
......
...@@ -594,8 +594,8 @@ void LLPanelAvatarProfile::processGroupProperties(const LLAvatarGroups* avatar_g ...@@ -594,8 +594,8 @@ void LLPanelAvatarProfile::processGroupProperties(const LLAvatarGroups* avatar_g
if (it != mGroups.begin()) if (it != mGroups.begin())
groups += ", "; groups += ", ";
std::string group_name = LLURI::escape(it->first);
std::string group_url="[secondlife:///app/group/" + it->second.asString() + "/about " + it->first + "]"; std::string group_url="[secondlife:///app/group/" + it->second.asString() + "/about " + group_name + "]";
groups += group_url; groups += group_url;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment