From 5fd82a0af94d171db46f09b49a41fd5759e665f3 Mon Sep 17 00:00:00 2001 From: Arjun Roychowdhury Date: Sat, 17 Oct 2015 06:36:36 -0400 Subject: stripped ES ip too --- www/js/LogCtrl.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'www/js/LogCtrl.js') diff --git a/www/js/LogCtrl.js b/www/js/LogCtrl.js index 36c1e42f..1103a423 100644 --- a/www/js/LogCtrl.js +++ b/www/js/LogCtrl.js @@ -114,6 +114,14 @@ angular.module('zmApp.controllers').controller('zmApp.LogCtrl', ['$scope', '$roo var re3 = new RegExp(urlNoProtocol, "g"); logstring = logstring.replace(re3, ""); } + + urlNoProtocol = loginData.eventServer.replace(/.*?:\/\//, ""); + if (urlNoProtocol != "") + { + var re4 = new RegExp(urlNoProtocol, "g"); + logstring = logstring.replace(re4, ""); + } + var email = { to: zm.authoremail, subject: 'zmNinja Logs', -- cgit v1.2.3