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

@@ -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; }
}
}