Same processing of the "/" in the MapImageService Cap as the one in the login service.

bulletsim
Diva Canto 2011-06-13 07:59:28 -07:00
parent 0e4db3ca39
commit ab11835aeb
1 changed files with 6 additions and 0 deletions

View File

@ -66,6 +66,12 @@ namespace OpenSim.Region.ClientStack.Linden
return;
m_MapImageServerURL = config.GetString("Cap_MapImageService", string.Empty);
if (m_MapImageServerURL != string.Empty)
{
m_MapImageServerURL = m_MapImageServerURL.Trim();
if (!m_MapImageServerURL.EndsWith("/"))
m_MapImageServerURL = m_MapImageServerURL + "/";
}
}
public void AddRegion(Scene s)