From 1f78dc65041729567edc411a3e63dd9a32a268a3 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Fri, 7 Oct 2011 00:30:35 +0100 Subject: remove the pointless slashes on the end of the (5!) different server stat retrieval mechanisms. Original request URLs that end with / will still work, but this will allow one to type /simstatus as well as /simstatus/ Can't do this with webstats yet since it does insane things to the path. --- OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/CoreModules/Framework') diff --git a/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs b/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs index b5cbcbb..09095c2 100644 --- a/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs +++ b/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs @@ -73,7 +73,7 @@ namespace OpenSim.Region.CoreModules.Framework.Monitoring "Returns a variety of statistics about the current region and/or simulator", DebugMonitors); - MainServer.Instance.AddHTTPHandler("/monitorstats/" + m_scene.RegionInfo.RegionID + "/", StatsPage); + MainServer.Instance.AddHTTPHandler("/monitorstats/" + m_scene.RegionInfo.RegionID, StatsPage); } public Hashtable StatsPage(Hashtable request) -- cgit v1.1