mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
use some shared char arrays on string split
This commit is contained in:
@@ -75,7 +75,7 @@ namespace OpenSim.Framework.ServiceAuth
|
||||
string recovered = Util.Base64ToString(data);
|
||||
if (!String.IsNullOrEmpty(recovered))
|
||||
{
|
||||
string[] parts = recovered.Split(new char[] { ':' });
|
||||
string[] parts = recovered.Split(Util.SplitColonArray);
|
||||
if (parts.Length >= 2)
|
||||
{
|
||||
return m_Username.Equals(parts[0]) && m_Password.Equals(parts[1]);
|
||||
|
||||
Reference in New Issue
Block a user