aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Servers/BaseHttpServer.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs
index 13c5752..303ce64 100644
--- a/OpenSim/Framework/Servers/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/BaseHttpServer.cs
@@ -559,7 +559,8 @@ namespace OpenSim.Framework.Servers
559 559
560 foreach (string pattern in m_llsdHandlers.Keys) 560 foreach (string pattern in m_llsdHandlers.Keys)
561 { 561 {
562 if (searchquery.StartsWith(searchquery)) 562
563 if (pattern.StartsWith(searchquery) && searchquery.Length >= pattern.Length)
563 { 564 {
564 if (String.IsNullOrEmpty(bestMatch) || searchquery.Length > bestMatch.Length) 565 if (String.IsNullOrEmpty(bestMatch) || searchquery.Length > bestMatch.Length)
565 { 566 {
@@ -568,6 +569,10 @@ namespace OpenSim.Framework.Servers
568 } 569 }
569 } 570 }
570 571
572 // extra kicker to remove the default XMLRPC login case.. just in case..
573 if (path == "/")
574 return false;
575
571 if (String.IsNullOrEmpty(bestMatch)) 576 if (String.IsNullOrEmpty(bestMatch))
572 { 577 {
573 578