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

@@ -69,7 +69,7 @@ namespace OpenSim.Region.CoreModules.World.Serialiser
MemoryStream stream = new MemoryStream();
XmlTextWriter formatter = new XmlTextWriter(stream, Encoding.UTF8);
XmlDocument doc = new XmlDocument();
doc.XmlResolver=null;
doc.LoadXml(xmlstream);
formatter.Formatting = Formatting.Indented;
doc.WriteContentTo(formatter);