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.
This commit is contained in:
Justin Clark-Casey (justincc)
2011-10-07 00:30:35 +01:00
parent 4c812884be
commit 1f78dc6504
3 changed files with 6 additions and 13 deletions

View File

@@ -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)