From 627c0a6b5778dfe76d4e38d5df103c7308defb0f Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Mon, 18 Mar 2019 18:16:54 -0400 Subject: [PATCH] Fix overzealous regex not letting ) be part of secondlife.com urls Thanks to Bitten and Router for reporting and testing. --- 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 4a5653b14..8bf38caeb 100644 --- a/indra/llui/llurlentry.cpp +++ b/indra/llui/llurlentry.cpp @@ -493,7 +493,7 @@ std::string LLUrlEntrySLURL::getLocation(const std::string &url) const // LLUrlEntrySecondlifeURL::LLUrlEntrySecondlifeURL() { - mPattern = boost::regex("\\b(https?://)?([-\\w\\.]*\\.)?(secondlife|lindenlab)\\.com(:\\d{1,5})?(/\\S*)?\\b", + mPattern = boost::regex("\\b(https?://)?([-\\w\\.]*\\.)?(secondlife|lindenlab)\\.com(:\\d{1,5})?(/\\S*)?", boost::regex::perl|boost::regex::icase); mIcon = "Hand";