mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
remove end slash from most URLs we send to viewers
This commit is contained in:
@@ -216,7 +216,7 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
public void RegisterCaps(UUID agentID, Caps caps)
|
||||
{
|
||||
caps.RegisterSimpleHandler("SimulatorFeatures",
|
||||
new SimpleStreamHandler("/" + UUID.Random() + "/",
|
||||
new SimpleStreamHandler("/" + UUID.Random(),
|
||||
delegate (IOSHttpRequest request, IOSHttpResponse response)
|
||||
{
|
||||
HandleSimulatorFeaturesRequest(request, response, agentID);
|
||||
@@ -225,7 +225,7 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
if (m_doScriptSyntax && m_scriptSyntaxID != UUID.Zero && m_scriptSyntaxXML != null)
|
||||
{
|
||||
caps.RegisterSimpleHandler("LSLSyntax",
|
||||
new SimpleStreamHandler("/" + UUID.Random() + "/", HandleSyntaxRequest));
|
||||
new SimpleStreamHandler("/" + UUID.Random(), HandleSyntaxRequest));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user