mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Fix exception when brokering HG asset ids
This commit is contained in:
@@ -137,7 +137,13 @@ namespace OpenSim.Services.Connectors
|
||||
|
||||
string prefix = id.Substring(0, 2).ToLower();
|
||||
|
||||
string host = m_UriMap[prefix];
|
||||
string host;
|
||||
|
||||
// HG URLs will not be valid UUIDS
|
||||
if (m_UriMap.ContainsKey(prefix))
|
||||
host = m_UriMap[prefix];
|
||||
else
|
||||
host = m_UriMap["00"];
|
||||
|
||||
serverUri.Host = host;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user