Skip to content
Snippets Groups Projects
Commit 3b328a38 authored by Mnikolenko Productengine's avatar Mnikolenko Productengine
Browse files

MAINT-6929 [Contribution] E-mail links are not parsed correctly when top level...

MAINT-6929 [Contribution] E-mail links are not parsed correctly when top level domain is over 6 characters.
parent 7dd8c1fc
No related branches found
No related tags found
No related merge requests found
......@@ -209,6 +209,7 @@ Ansariel Hiller
MAINT-6917
STORM-2140
MAINT-6912
MAINT-6929
Aralara Rajal
Arare Chantilly
CHUIBUG-191
......
......@@ -1377,7 +1377,7 @@ std::string LLUrlEntryIcon::getIcon(const std::string &url)
LLUrlEntryEmail::LLUrlEntryEmail()
: LLUrlEntryBase()
{
mPattern = boost::regex("(mailto:)?[\\w\\.\\-]+@[\\w\\.\\-]+\\.[a-z]{2,6}",
mPattern = boost::regex("(mailto:)?[\\w\\.\\-]+@[\\w\\.\\-]+\\.[a-z]{2,63}",
boost::regex::perl | boost::regex::icase);
mMenuName = "menu_url_email.xml";
mTooltip = LLTrans::getString("TooltipEmail");
......
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