aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer/RestDeserialiseHandler.cs
diff options
context:
space:
mode:
authorUbitUmarov2018-01-08 12:00:21 +0000
committerUbitUmarov2018-01-08 12:00:21 +0000
commiteec3921800e3a19f210c0488d78399c210f9b9d6 (patch)
tree9d1f1dfc98e518e060b5d172891051edae8c9561 /OpenSim/Framework/Servers/HttpServer/RestDeserialiseHandler.cs
parent a few more xml things (diff)
downloadopensim-SC-eec3921800e3a19f210c0488d78399c210f9b9d6.zip
opensim-SC-eec3921800e3a19f210c0488d78399c210f9b9d6.tar.gz
opensim-SC-eec3921800e3a19f210c0488d78399c210f9b9d6.tar.bz2
opensim-SC-eec3921800e3a19f210c0488d78399c210f9b9d6.tar.xz
fall back to a obsolete property since several monos in use (include our own) do not suporte the proper .net4.0 one
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/RestDeserialiseHandler.cs')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/RestDeserialiseHandler.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/RestDeserialiseHandler.cs b/OpenSim/Framework/Servers/HttpServer/RestDeserialiseHandler.cs
index fbc51d5..7e2d909 100644
--- a/OpenSim/Framework/Servers/HttpServer/RestDeserialiseHandler.cs
+++ b/OpenSim/Framework/Servers/HttpServer/RestDeserialiseHandler.cs
@@ -54,7 +54,7 @@ namespace OpenSim.Framework.Servers.HttpServer
54 TRequest deserial; 54 TRequest deserial;
55 using (XmlTextReader xmlReader = new XmlTextReader(request)) 55 using (XmlTextReader xmlReader = new XmlTextReader(request))
56 { 56 {
57 xmlReader.DtdProcessing = DtdProcessing.Prohibit; 57 xmlReader.ProhibitDtd = true;
58 xmlReader.XmlResolver = null; 58 xmlReader.XmlResolver = null;
59 59
60 XmlSerializer deserializer = new XmlSerializer(typeof (TRequest)); 60 XmlSerializer deserializer = new XmlSerializer(typeof (TRequest));