From 2a49272b6286f65bc0389a4e1a1795d50a104f3b Mon Sep 17 00:00:00 2001 From: diva Date: Tue, 14 Apr 2009 17:32:05 +0000 Subject: [PATCH] Changing the CAP seed to be the string representation of a full UUID, instead of a trunkated UUID. --- OpenSim/Framework/Communications/Capabilities/CapsUtil.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenSim/Framework/Communications/Capabilities/CapsUtil.cs b/OpenSim/Framework/Communications/Capabilities/CapsUtil.cs index 874a27ffa2..f804abbc50 100644 --- a/OpenSim/Framework/Communications/Capabilities/CapsUtil.cs +++ b/OpenSim/Framework/Communications/Capabilities/CapsUtil.cs @@ -52,7 +52,10 @@ namespace OpenSim.Framework.Communications.Capabilities { UUID caps = UUID.Random(); string capsPath = caps.ToString(); - capsPath = capsPath.Remove(capsPath.Length - 4, 4); + // I'm commenting this, rather than delete, to keep as historical record. + // The caps seed is now a full UUID string that gets added four more digits + // for producing certain CAPs URLs in OpenSim + //capsPath = capsPath.Remove(capsPath.Length - 4, 4); return capsPath; } }