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

@@ -156,6 +156,7 @@ namespace OpenSim.Framework.Serialization.External
return xml;
XmlDocument doc = new XmlDocument();
doc.XmlResolver=null;
doc.LoadXml(xml);
XmlNodeList sops = doc.GetElementsByTagName("SceneObjectPart");

View File

@@ -671,6 +671,7 @@ namespace OpenSim.Framework
public static string GetFormattedXml(string rawXml)
{
XmlDocument xd = new XmlDocument();
xd.XmlResolver=null;
xd.LoadXml(rawXml);
StringBuilder sb = new StringBuilder();