diff --git a/OpenSim/Region/ClientStack/Linden/Caps/AgentPreferencesModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/AgentPreferencesModule.cs index 867daceb98..4ece8a2e77 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/AgentPreferencesModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/AgentPreferencesModule.cs @@ -95,7 +95,7 @@ namespace OpenSim.Region.ClientStack.LindenCaps public void RegisterCaps(UUID agent, Caps caps) { - string capPath = "/" + UUID.Random().ToString() + "/"; + string capPath = "/" + UUID.Random().ToString(); caps.RegisterSimpleHandler("AgentPreferences", new SimpleStreamHandler(capPath, delegate(IOSHttpRequest httpRequest, IOSHttpResponse httpResponse) { diff --git a/OpenSim/Region/ClientStack/Linden/Caps/ServerReleaseNotesModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/ServerReleaseNotesModule.cs index ad248558c2..fd2ff6c452 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/ServerReleaseNotesModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/ServerReleaseNotesModule.cs @@ -112,7 +112,7 @@ namespace OpenSim.Region.ClientStack.LindenCaps public void RegisterCaps(UUID agentID, Caps caps) { - string capPath = "/" + UUID.Random() + "/"; + string capPath = "/" + UUID.Random(); caps.RegisterSimpleHandler("ServerReleaseNotes", new SimpleStreamHandler(capPath, delegate (IOSHttpRequest httpRequest, IOSHttpResponse httpResponse) {