Changing the CAP seed to be the string representation of a full UUID, instead of a trunkated UUID.

0.6.5-rc1
diva 2009-04-14 17:32:05 +00:00
parent 1894157dd3
commit 2a49272b62
1 changed files with 4 additions and 1 deletions

View File

@ -52,7 +52,10 @@ namespace OpenSim.Framework.Communications.Capabilities
{ {
UUID caps = UUID.Random(); UUID caps = UUID.Random();
string capsPath = caps.ToString(); 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; return capsPath;
} }
} }