diff options
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/RestDeserialiseHandler.cs')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/RestDeserialiseHandler.cs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/RestDeserialiseHandler.cs b/OpenSim/Framework/Servers/HttpServer/RestDeserialiseHandler.cs index 67fc14e..bd55657 100644 --- a/OpenSim/Framework/Servers/HttpServer/RestDeserialiseHandler.cs +++ b/OpenSim/Framework/Servers/HttpServer/RestDeserialiseHandler.cs | |||
@@ -54,8 +54,6 @@ 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.ProhibitDtd = true; | ||
58 | |||
59 | XmlSerializer deserializer = new XmlSerializer(typeof (TRequest)); | 57 | XmlSerializer deserializer = new XmlSerializer(typeof (TRequest)); |
60 | deserial = (TRequest) deserializer.Deserialize(xmlReader); | 58 | deserial = (TRequest) deserializer.Deserialize(xmlReader); |
61 | } | 59 | } |