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/Application/OpenSimBase.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Application') diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index 6fba71e..e867bc2 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs @@ -728,7 +728,7 @@ namespace OpenSim public string Path { - get { return "/simstatus/"; } + get { return "/simstatus"; } } } @@ -766,7 +766,7 @@ namespace OpenSim public string Path { // This is for the OpenSimulator instance and is the osSecret hashed - get { return "/" + osXStatsURI + "/"; } + get { return "/" + osXStatsURI; } } } @@ -807,7 +807,7 @@ namespace OpenSim public string Path { // This is for the OpenSimulator instance and is the user provided URI - get { return "/" + osUXStatsURI + "/"; } + get { return "/" + osUXStatsURI; } } } -- cgit v1.1