mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 10:46:00 +08:00
Fixed bug in HG that was causing secondlife:// refs to bomb the client.
Also fiddled a bit more with the initial CAP in the user server.
This commit is contained in:
@@ -279,9 +279,8 @@ namespace OpenSim.Grid.UserServer.Modules
|
||||
//response.SeedCapability = serverURI + CapsUtil.GetCapsSeedPath(capsPath);
|
||||
|
||||
// Take off trailing / so that the caps path isn't //CAPS/someUUID
|
||||
if (regionInfo.httpServerURI.EndsWith("/"))
|
||||
regionInfo.httpServerURI = regionInfo.httpServerURI.Substring(0, regionInfo.httpServerURI.Length - 1);
|
||||
response.SeedCapability = regionInfo.httpServerURI + CapsUtil.GetCapsSeedPath(capsPath);
|
||||
string uri = regionInfo.httpServerURI.Trim(new char[] { '/' });
|
||||
response.SeedCapability = uri + CapsUtil.GetCapsSeedPath(capsPath);
|
||||
|
||||
|
||||
// Notify the target of an incoming user
|
||||
|
||||
Reference in New Issue
Block a user