diff options
Diffstat (limited to '')
-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 4b502b7..8b702e0 100644 --- a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs +++ b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs | |||
@@ -137,7 +137,13 @@ namespace OpenSim.Services.Connectors | |||
137 | 137 | ||
138 | string prefix = id.Substring(0, 2).ToLower(); | 138 | string prefix = id.Substring(0, 2).ToLower(); |
139 | 139 | ||
140 | string host = m_UriMap[prefix]; | 140 | string host; |
141 | |||
142 | // HG URLs will not be valid UUIDS | ||
143 | if (m_UriMap.ContainsKey(prefix)) | ||
144 | host = m_UriMap[prefix]; | ||
145 | else | ||
146 | host = m_UriMap["00"]; | ||
141 | 147 | ||
142 | serverUri.Host = host; | 148 | serverUri.Host = host; |
143 | 149 | ||