Explorar el Código

mantis 9157: remove trail '/' from remoteconsole urls

UbitUmarov hace 2 meses
padre
commit
00c0816275
Se han modificado 1 ficheros con 3 adiciones y 6 borrados
  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.Collections;
 using System.Collections.Generic;
-using System.Diagnostics;
 using System.Reflection;
-using System.Text;
-using System.Text.RegularExpressions;
 using System.Threading;
 using System.Timers;
 using OpenMetaverse;
@@ -185,9 +182,9 @@ namespace OpenSim.Framework.Console
             m_Server = server;
 
             // 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)