Ver Fonte

mantis 9157: remove trail '/' from remoteconsole urls

UbitUmarov há 2 meses atrás
pai
commit
00c0816275
1 ficheiros alterados com 3 adições e 6 exclusões
  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)