diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs b/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs index defaa9c..582df22 100644 --- a/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs | |||
@@ -1125,7 +1125,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice | |||
1125 | return null; | 1125 | return null; |
1126 | 1126 | ||
1127 | doc = new XmlDocument(); | 1127 | doc = new XmlDocument(); |
1128 | doc.XmlResolver = null; | ||
1129 | 1128 | ||
1130 | // Let's serialize all calls to Vivox. Most of these are driven by | 1129 | // Let's serialize all calls to Vivox. Most of these are driven by |
1131 | // the clients (CAPs), when the user arrives at the region. We don't | 1130 | // the clients (CAPs), when the user arrives at the region. We don't |
@@ -1147,10 +1146,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice | |||
1147 | using (HttpWebResponse rsp = (HttpWebResponse)req.GetResponse()) | 1146 | using (HttpWebResponse rsp = (HttpWebResponse)req.GetResponse()) |
1148 | using (Stream s = rsp.GetResponseStream()) | 1147 | using (Stream s = rsp.GetResponseStream()) |
1149 | using (XmlTextReader rdr = new XmlTextReader(s)) | 1148 | using (XmlTextReader rdr = new XmlTextReader(s)) |
1150 | { | ||
1151 | rdr.ProhibitDtd = true; | ||
1152 | doc.Load(rdr); | 1149 | doc.Load(rdr); |
1153 | } | ||
1154 | } | 1150 | } |
1155 | catch (Exception e) | 1151 | catch (Exception e) |
1156 | { | 1152 | { |