summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2020-02-10 17:59:24 +0200
committermaxim_productengine <mnikolenko@productengine.com>2020-02-10 17:59:24 +0200
commit51222605155a02320e7744d1235987b58264b25d (patch)
tree345156a6c7b1bcd07075c187b52b0e8b6d9678d7 /indra
parenta4e33585e34e141bf08ca20990322d30d01fa140 (diff)
SL-12660 Hide top level domain name
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llappviewer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index da418fbea6..ab3ae1c64b 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -3119,7 +3119,7 @@ LLSD LLAppViewer::getViewerInfo() const
info["POSITION_LOCAL"] = ll_sd_from_vector3(gAgent.getPosAgentFromGlobal(pos));
info["REGION"] = gAgent.getRegion()->getName();
- boost::regex regex("sim[0-9]*.");
+ boost::regex regex("\\.(secondlife|lindenlab)\\..*");
info["HOSTNAME"] = boost::regex_replace(gAgent.getRegion()->getHost().getHostName(), regex, "");
info["SERVER_VERSION"] = gLastVersionChannel;
LLSLURL slurl;