* It turns out that Mono doesn't currently support setting the Certificate validation handler, however, it throws a NotImplemented exception.

* Added Try/Catch/Message
This commit is contained in:
Teravus Ovares
2008-08-26 05:41:07 +00:00
parent b3a6f8d688
commit 1015ca3863
2 changed files with 14 additions and 2 deletions

View File

@@ -559,7 +559,8 @@ namespace OpenSim.Framework.Servers
foreach (string pattern in m_llsdHandlers.Keys)
{
if (searchquery.StartsWith(searchquery))
if (pattern.StartsWith(searchquery) && searchquery.Length >= pattern.Length)
{
if (String.IsNullOrEmpty(bestMatch) || searchquery.Length > bestMatch.Length)
{
@@ -568,6 +569,10 @@ namespace OpenSim.Framework.Servers
}
}
// extra kicker to remove the default XMLRPC login case.. just in case..
if (path == "/")
return false;
if (String.IsNullOrEmpty(bestMatch))
{