aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorDiva Canto2011-06-13 07:59:28 -0700
committerDiva Canto2011-06-13 07:59:28 -0700
commitab11835aeb341a34f479d9a6eb18de1ca9500c4a (patch)
tree78e2116d03ca69cc2e05dc705818820d039a5553 /OpenSim/Region
parentAdded experimental new capability URL called MapImageService meant to work wi... (diff)
downloadopensim-SC_OLD-ab11835aeb341a34f479d9a6eb18de1ca9500c4a.zip
opensim-SC_OLD-ab11835aeb341a34f479d9a6eb18de1ca9500c4a.tar.gz
opensim-SC_OLD-ab11835aeb341a34f479d9a6eb18de1ca9500c4a.tar.bz2
opensim-SC_OLD-ab11835aeb341a34f479d9a6eb18de1ca9500c4a.tar.xz
Same processing of the "/" in the MapImageService Cap as the one in the login service.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/MiscCapsModule.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/MiscCapsModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/MiscCapsModule.cs
index d084a73..3dcd1e3 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/MiscCapsModule.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/MiscCapsModule.cs
@@ -66,6 +66,12 @@ namespace OpenSim.Region.ClientStack.Linden
66 return; 66 return;
67 67
68 m_MapImageServerURL = config.GetString("Cap_MapImageService", string.Empty); 68 m_MapImageServerURL = config.GetString("Cap_MapImageService", string.Empty);
69 if (m_MapImageServerURL != string.Empty)
70 {
71 m_MapImageServerURL = m_MapImageServerURL.Trim();
72 if (!m_MapImageServerURL.EndsWith("/"))
73 m_MapImageServerURL = m_MapImageServerURL + "/";
74 }
69 } 75 }
70 76
71 public void AddRegion(Scene s) 77 public void AddRegion(Scene s)