mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
remove end slash from most URLs we send to viewers
This commit is contained in:
@@ -393,7 +393,7 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
|
||||
if (m_GetTextureURL == "localhost")
|
||||
{
|
||||
string capUrl = "/CAPS/" + UUID.Random() + "/";
|
||||
string capUrl = "/" + UUID.Random();
|
||||
|
||||
// Register this as a poll service
|
||||
PollServiceAssetEventArgs args = new PollServiceAssetEventArgs(capUrl, agentID, m_scene);
|
||||
@@ -415,7 +415,7 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
//GetMesh
|
||||
if (m_GetMeshURL == "localhost")
|
||||
{
|
||||
string capUrl = "/CAPS/" + UUID.Random() + "/";
|
||||
string capUrl = "/" + UUID.Random();
|
||||
|
||||
PollServiceAssetEventArgs args = new PollServiceAssetEventArgs(capUrl, agentID, m_scene);
|
||||
//args.Type = PollServiceEventArgs.EventType.Mesh;
|
||||
@@ -433,7 +433,7 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
//GetMesh2
|
||||
if (m_GetMesh2URL == "localhost")
|
||||
{
|
||||
string capUrl = "/CAPS/" + UUID.Random() + "/";
|
||||
string capUrl = "/" + UUID.Random();
|
||||
|
||||
PollServiceAssetEventArgs args = new PollServiceAssetEventArgs(capUrl, agentID, m_scene);
|
||||
//args.Type = PollServiceEventArgs.EventType.Mesh2;
|
||||
@@ -452,7 +452,7 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
//ViewerAsset
|
||||
if (m_GetAssetURL == "localhost")
|
||||
{
|
||||
string capUrl = "/CAPS/" + UUID.Random() + "/";
|
||||
string capUrl = "/" + UUID.Random();
|
||||
|
||||
PollServiceAssetEventArgs args = new PollServiceAssetEventArgs(capUrl, agentID, m_scene);
|
||||
//args.Type = PollServiceEventArgs.EventType.Asset;
|
||||
|
||||
Reference in New Issue
Block a user