mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
other spot
This commit is contained in:
@@ -4098,12 +4098,15 @@ namespace OpenSim.Framework
|
||||
|
||||
public static bool ParseUniversalUserIdentifier(string value, out UUID uuid)
|
||||
{
|
||||
/*
|
||||
if (value.Length < 36)
|
||||
{
|
||||
uuid = UUID.Zero;
|
||||
return false;
|
||||
}
|
||||
return (value.Length == 36) ? UUID.TryParse(value, out uuid) : UUID.TryParse(value.Substring(0, 36), out uuid);
|
||||
*/
|
||||
return UUID.TryParse(value, out uuid); // uuid now only looks to first 36bytes
|
||||
}
|
||||
|
||||
public static unsafe string RemoveUniversalUserIdentifierSecret(string value)
|
||||
|
||||
Reference in New Issue
Block a user