mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
disable some XmlResolver
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user