remove end slash from most URLs we send to viewers

This commit is contained in:
UbitUmarov
2020-05-10 21:14:52 +01:00
parent c1d69018bd
commit aafc6579a1
12 changed files with 41 additions and 24 deletions

View File

@@ -237,7 +237,7 @@ namespace OpenSim.Region.ClientStack.Linden
public void RegisterHandlers()
{
// this path is also defined elsewhere so keeping it
string seedcapsBase = "/CAPS/" + m_HostCapsObj.CapsObjectPath + "0000/";
string seedcapsBase = "/CAPS/" + m_HostCapsObj.CapsObjectPath + "0000";
m_HostCapsObj.RegisterSimpleHandler("SEED", new SimpleStreamHandler(seedcapsBase, SeedCapRequest));
// m_log.DebugFormat(
@@ -342,7 +342,7 @@ namespace OpenSim.Region.ClientStack.Linden
if (m_UserManager != null)
{
m_HostCapsObj.RegisterSimpleHandler("GetDisplayNames",
new SimpleStreamHandler(GetNewCapPath() +"/", GetDisplayNames));
new SimpleStreamHandler(GetNewCapPath(), GetDisplayNames));
}
}
catch (Exception e)