mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
* One more tweak to the application/xml vs application/llsd+xml routine
This commit is contained in:
@@ -560,12 +560,11 @@ namespace OpenSim.Framework.Servers
|
||||
foreach (string pattern in m_llsdHandlers.Keys)
|
||||
{
|
||||
|
||||
if (pattern.StartsWith(searchquery) && searchquery.Length >= pattern.Length)
|
||||
if (searchquery.StartsWith(pattern) && searchquery.Length >= pattern.Length)
|
||||
{
|
||||
if (String.IsNullOrEmpty(bestMatch) || searchquery.Length > bestMatch.Length)
|
||||
{
|
||||
|
||||
bestMatch = pattern;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user