Browse Source

mantis 9157: remove trail '/' from remoteconsole urls

UbitUmarov 2 months ago
parent
commit
00c0816275
1 changed files with 3 additions and 6 deletions
  1. 3 6
      OpenSim/Framework/Console/RemoteConsole.cs

+ 3 - 6
OpenSim/Framework/Console/RemoteConsole.cs

@@ -29,10 +29,7 @@ using System;
 using System.Xml;
 using System.Xml;
 using System.Collections;
 using System.Collections;
 using System.Collections.Generic;
 using System.Collections.Generic;
-using System.Diagnostics;
 using System.Reflection;
 using System.Reflection;
-using System.Text;
-using System.Text.RegularExpressions;
 using System.Threading;
 using System.Threading;
 using System.Timers;
 using System.Timers;
 using OpenMetaverse;
 using OpenMetaverse;
@@ -185,9 +182,9 @@ namespace OpenSim.Framework.Console
             m_Server = server;
             m_Server = server;
 
 
             // Add our handlers
             // Add our handlers
-            m_Server.AddHTTPHandler("/StartSession/", HandleHttpStartSession);
-            m_Server.AddHTTPHandler("/CloseSession/", HandleHttpCloseSession);
-            m_Server.AddHTTPHandler("/SessionCommand/", HandleHttpSessionCommand);
+            m_Server.AddHTTPHandler("/StartSession", HandleHttpStartSession);
+            m_Server.AddHTTPHandler("/CloseSession", HandleHttpCloseSession);
+            m_Server.AddHTTPHandler("/SessionCommand", HandleHttpSessionCommand);
         }
         }
 
 
         public override void Output(string format)
         public override void Output(string format)