diff options
author | AndreyL ProductEngine <andreylproductengine@lindenlab.com> | 2015-07-15 23:58:56 +0300 |
---|---|---|
committer | AndreyL ProductEngine <andreylproductengine@lindenlab.com> | 2015-07-15 23:58:56 +0300 |
commit | 62c748936c42451d4a17c5321d804111203a9e4f (patch) | |
tree | 2da6873c24a851d1c65a5a56630d137672573eba /indra/llui/llurlentry.cpp | |
parent | 222a8b101c26472156dad950b1c48fdeb579ad60 (diff) |
MAINT-5019: Buildfix - added a tests for emails, improved handling of URLs starting with www.
Diffstat (limited to 'indra/llui/llurlentry.cpp')
-rwxr-xr-x | 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 95f931de0a..91d655ee9e 100755 --- a/indra/llui/llurlentry.cpp +++ b/indra/llui/llurlentry.cpp @@ -293,7 +293,7 @@ std::string LLUrlEntryHTTPLabel::getUrl(const std::string &string) const LLUrlEntryHTTPNoProtocol::LLUrlEntryHTTPNoProtocol() : LLUrlEntryBase() { - mPattern = boost::regex("\\bwww\\.\\S+\\.\\S+", // i.e. www.FOO.BAR + mPattern = boost::regex("\\bwww\\.\\S+\\.([^\\s<]*)?\\b", // i.e. www.FOO.BAR boost::regex::perl|boost::regex::icase); mMenuName = "menu_url_http.xml"; mTooltip = LLTrans::getString("TooltipHttpUrl"); |