aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Util.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Util.cs')
-rw-r--r--OpenSim/Framework/Util.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs
index af21cb5..e5ff27a 100644
--- a/OpenSim/Framework/Util.cs
+++ b/OpenSim/Framework/Util.cs
@@ -1703,9 +1703,9 @@ namespace OpenSim.Framework
1703 /// <param name="url"></param> 1703 /// <param name="url"></param>
1704 /// <param name="firstname"></param> 1704 /// <param name="firstname"></param>
1705 /// <param name="lastname"></param> 1705 /// <param name="lastname"></param>
1706 public static bool ParseUniversalUserIdentifier(string value, out UUID uuid, out string url, out string firstname, out string lastname) 1706 public static bool ParseUniversalUserIdentifier(string value, out UUID uuid, out string url, out string firstname, out string lastname, out string secret)
1707 { 1707 {
1708 uuid = UUID.Zero; url = string.Empty; firstname = "Unknown"; lastname = "User"; 1708 uuid = UUID.Zero; url = string.Empty; firstname = "Unknown"; lastname = "User"; secret = string.Empty;
1709 1709
1710 string[] parts = value.Split(';'); 1710 string[] parts = value.Split(';');
1711 if (parts.Length >= 1) 1711 if (parts.Length >= 1)
@@ -1724,6 +1724,8 @@ namespace OpenSim.Framework
1724 lastname = name[1]; 1724 lastname = name[1];
1725 } 1725 }
1726 } 1726 }
1727 if (parts.Length >= 4)
1728 secret = parts[3];
1727 1729
1728 return true; 1730 return true;
1729 } 1731 }