diff options
Diffstat (limited to 'OpenSim/Grid/UserServer/UserLoginService.cs')
-rw-r--r-- | OpenSim/Grid/UserServer/UserLoginService.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Grid/UserServer/UserLoginService.cs b/OpenSim/Grid/UserServer/UserLoginService.cs index a4c8065..267b2a0 100644 --- a/OpenSim/Grid/UserServer/UserLoginService.cs +++ b/OpenSim/Grid/UserServer/UserLoginService.cs | |||
@@ -310,6 +310,10 @@ namespace OpenSim.Grid.UserServer | |||
310 | response.RegionY = regionInfo.regionLocY; | 310 | response.RegionY = regionInfo.regionLocY; |
311 | 311 | ||
312 | string capsPath = CapsUtil.GetRandomCapsObjectPath(); | 312 | string capsPath = CapsUtil.GetRandomCapsObjectPath(); |
313 | |||
314 | // Take off trailing / so that the caps path isn't //CAPS/someUUID | ||
315 | if (regionInfo.httpServerURI.EndsWith("/")) | ||
316 | regionInfo.httpServerURI = regionInfo.httpServerURI.Substring(0, regionInfo.httpServerURI.Length - 1); | ||
313 | response.SeedCapability = regionInfo.httpServerURI + CapsUtil.GetCapsSeedPath(capsPath); | 317 | response.SeedCapability = regionInfo.httpServerURI + CapsUtil.GetCapsSeedPath(capsPath); |
314 | 318 | ||
315 | // Notify the target of an incoming user | 319 | // Notify the target of an incoming user |