diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Services/GridService/GridService.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs index 3b1a07e..af7a511 100644 --- a/OpenSim/Services/GridService/GridService.cs +++ b/OpenSim/Services/GridService/GridService.cs | |||
@@ -164,8 +164,14 @@ namespace OpenSim.Services.GridService | |||
164 | 164 | ||
165 | configVal = loginConfig.GetString("MapTileURL", string.Empty); | 165 | configVal = loginConfig.GetString("MapTileURL", string.Empty); |
166 | if (!string.IsNullOrEmpty(configVal)) | 166 | if (!string.IsNullOrEmpty(configVal)) |
167 | { | ||
168 | // This URL must end with '/', the viewer doesn't check | ||
169 | configVal = configVal.Trim(); | ||
170 | if (!configVal.EndsWith("/")) | ||
171 | configVal = configVal + "/"; | ||
167 | m_ExtraFeatures["map-server-url"] = configVal; | 172 | m_ExtraFeatures["map-server-url"] = configVal; |
168 | 173 | } | |
174 | |||
169 | configVal = loginConfig.GetString("DestinationGuide", string.Empty); | 175 | configVal = loginConfig.GetString("DestinationGuide", string.Empty); |
170 | if (!string.IsNullOrEmpty(configVal)) | 176 | if (!string.IsNullOrEmpty(configVal)) |
171 | m_ExtraFeatures["destination-guide-url"] = configVal; | 177 | m_ExtraFeatures["destination-guide-url"] = configVal; |