diff options
Diffstat (limited to 'OpenSim/Services/Connectors')
-rw-r--r-- | OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs index 3e06cf0..bf0cc35 100644 --- a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs +++ b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs | |||
@@ -143,7 +143,13 @@ namespace OpenSim.Services.Connectors | |||
143 | 143 | ||
144 | string prefix = id.Substring(0, 2).ToLower(); | 144 | string prefix = id.Substring(0, 2).ToLower(); |
145 | 145 | ||
146 | string host = m_UriMap[prefix]; | 146 | string host; |
147 | |||
148 | // HG URLs will not be valid UUIDS | ||
149 | if (m_UriMap.ContainsKey(prefix)) | ||
150 | host = m_UriMap[prefix]; | ||
151 | else | ||
152 | host = m_UriMap["00"]; | ||
147 | 153 | ||
148 | serverUri.Host = host; | 154 | serverUri.Host = host; |
149 | 155 | ||