From 07a5efafd4a8cb58a1fd96dd31097d6f3778d582 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Sat, 12 Nov 2016 16:29:31 +0100 Subject: [PATCH] Fix email addresses with non-original TLD longer than 6 characters won't get parsed properly --- indra/llui/llurlentry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/llui/llurlentry.cpp b/indra/llui/llurlentry.cpp index 606c236202..f20e3ebc21 100644 --- a/indra/llui/llurlentry.cpp +++ b/indra/llui/llurlentry.cpp @@ -1535,7 +1535,7 @@ std::string LLUrlEntryJira::getUrl(const std::string &string) const LLUrlEntryEmail::LLUrlEntryEmail() : LLUrlEntryBase() { - mPattern = boost::regex("(mailto:)?[\\w\\.\\-]+@[\\w\\.\\-]+\\.[a-z]{2,6}", + mPattern = boost::regex("(mailto:)?[\\w\\.\\-]+@[\\w\\.\\-]+\\.[a-z]{2,}", boost::regex::perl | boost::regex::icase); mMenuName = "menu_url_email.xml"; mTooltip = LLTrans::getString("TooltipEmail");