From 51222605155a02320e7744d1235987b58264b25d Mon Sep 17 00:00:00 2001 From: maxim_productengine Date: Mon, 10 Feb 2020 17:59:24 +0200 Subject: SL-12660 Hide top level domain name --- indra/newview/llappviewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') 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; -- cgit v1.2.3