summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2015-08-07 11:47:17 +0300
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2015-08-07 11:47:17 +0300
commit96e641b32919734d69fb38e33ff6e14c6b475c2d (patch)
tree504f485c48d31c5d642e3f02a5f97fe3ad4da0c1 /indra/llui
parentff3e1ae7d6c12574fca820fa4f24ceca1d8158e6 (diff)
MAINT-5451 FIXED A domain name without a top level domain should not be decorated
Diffstat (limited to 'indra/llui')
-rwxr-xr-xindra/llui/llurlentry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llurlentry.cpp b/indra/llui/llurlentry.cpp
index a663f8c046..03b459a30d 100755
--- a/indra/llui/llurlentry.cpp
+++ b/indra/llui/llurlentry.cpp
@@ -229,7 +229,7 @@ static std::string getStringAfterToken(const std::string str, const std::string
LLUrlEntryHTTP::LLUrlEntryHTTP()
: LLUrlEntryBase()
{
- mPattern = boost::regex("https?://([-\\w\\.]+)+(:\\d+)?(:\\w+)?(@\\d+)?(@\\w+)?/?\\S*",
+ mPattern = boost::regex("https?://([-\\w\\.]+)+(:\\d+)?(:\\w+)?(@\\d+)?(@\\w+)?\\.[a-z](:\\d+)?(:\\w+)?(@\\d+)?(@\\w+)?/?\\S*",
boost::regex::perl|boost::regex::icase);
mMenuName = "menu_url_http.xml";
mTooltip = LLTrans::getString("TooltipHttpUrl");