diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2016-11-15 13:00:47 +0200 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2016-11-15 13:00:47 +0200 |
commit | 3b328a3880972141311d38500e94f7b1bc64786c (patch) | |
tree | 52241cbdeb125c7fea035bb1a89662cf1cd323df /indra | |
parent | 7dd8c1fc371b8940d4c19efdfb4ddf0ed83471e1 (diff) |
MAINT-6929 [Contribution] E-mail links are not parsed correctly when top level domain is over 6 characters.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llui/llurlentry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llurlentry.cpp b/indra/llui/llurlentry.cpp index 27a2456deb..b5a31f5118 100644 --- a/indra/llui/llurlentry.cpp +++ b/indra/llui/llurlentry.cpp @@ -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"); |