disable some XmlResolver

This commit is contained in:
UbitUmarov
2018-01-04 23:51:43 +00:00
parent 7f49364d65
commit ec6f87d3ef
17 changed files with 23 additions and 5 deletions

View File

@@ -306,6 +306,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
m_log.DebugFormat("[ATTACHMENTS MODULE]: Rezzing any attachments for {0} from simulator-side", sp.Name);
XmlDocument doc = new XmlDocument();
doc.XmlResolver=null;
string stateData = String.Empty;
IAttachmentsService attServ = m_scene.RequestModuleInterface<IAttachmentsService>();
@@ -372,6 +373,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
if (itemData.TryGetValue(attach.ItemID, out xmlData))
{
d = new XmlDocument();
d.XmlResolver=null;
d.LoadXml(xmlData);
m_log.InfoFormat("[ATTACHMENT]: Found saved state for item {0}, loading it", attach.ItemID);
}