* One more tweak to the application/xml vs application/llsd+xml routine
parent
1015ca3863
commit
d48d928858
|
@ -560,12 +560,11 @@ namespace OpenSim.Framework.Servers
|
|||
foreach (string pattern in m_llsdHandlers.Keys)
|
||||
{
|
||||
|
||||
if (pattern.StartsWith(searchquery) && searchquery.Length >= pattern.Length)
|
||||
{
|
||||
if (String.IsNullOrEmpty(bestMatch) || searchquery.Length > bestMatch.Length)
|
||||
if (searchquery.StartsWith(pattern) && searchquery.Length >= pattern.Length)
|
||||
{
|
||||
|
||||
bestMatch = pattern;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue