STORM-632 ADDITIONAL_FIX Disallow showing URL-like avatar display names as Web links in the ShareItemsConfirmation notification.

Updating the <nolink> tag parsing regexp to enable multiple <nolink>...</nolink> clauses in a single textbox.
meow-7.2.2
Vadim ProductEngine 2011-08-08 23:46:23 +03:00
parent 4ab5831b3e
commit f695f8d112
2 changed files with 2 additions and 2 deletions

View File

@ -1134,7 +1134,7 @@ std::string LLUrlEntryWorldMap::getLocation(const std::string &url) const
//
LLUrlEntryNoLink::LLUrlEntryNoLink()
{
mPattern = boost::regex("<nolink>.*</nolink>",
mPattern = boost::regex("<nolink>[^<]*</nolink>",
boost::regex::perl|boost::regex::icase);
}

View File

@ -6834,7 +6834,7 @@ Are you sure you want to share the following items:
With the following Residents:
[RESIDENTS]
&lt;nolink&gt;[RESIDENTS]&lt;/nolink&gt;
<tag>confirm</tag>
<usetemplate
name="okcancelbuttons"