aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice
diff options
context:
space:
mode:
authorUbitUmarov2018-01-05 12:24:07 +0000
committerUbitUmarov2018-01-05 12:24:07 +0000
commit89a690c11f8c7b6bbe0b6339e79a64d1ae428aec (patch)
treeeb039c92222bf22359a20ecb5294b8ab1b2a38eb /OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice
parentdon't be bad Jenkins.. (diff)
downloadopensim-SC-89a690c11f8c7b6bbe0b6339e79a64d1ae428aec.zip
opensim-SC-89a690c11f8c7b6bbe0b6339e79a64d1ae428aec.tar.gz
opensim-SC-89a690c11f8c7b6bbe0b6339e79a64d1ae428aec.tar.bz2
opensim-SC-89a690c11f8c7b6bbe0b6339e79a64d1ae428aec.tar.xz
a few more xml things
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice')
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs b/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs
index 57930d7..08242b6 100644
--- a/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs
@@ -1125,6 +1125,7 @@ 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;
1128 1129
1129 // Let's serialize all calls to Vivox. Most of these are driven by 1130 // Let's serialize all calls to Vivox. Most of these are driven by
1130 // the clients (CAPs), when the user arrives at the region. We don't 1131 // the clients (CAPs), when the user arrives at the region. We don't
@@ -1146,7 +1147,11 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice
1146 using (HttpWebResponse rsp = (HttpWebResponse)req.GetResponse()) 1147 using (HttpWebResponse rsp = (HttpWebResponse)req.GetResponse())
1147 using (Stream s = rsp.GetResponseStream()) 1148 using (Stream s = rsp.GetResponseStream())
1148 using (XmlTextReader rdr = new XmlTextReader(s)) 1149 using (XmlTextReader rdr = new XmlTextReader(s))
1149 doc.Load(rdr); 1150 {
1151 rdr.DtdProcessing = DtdProcessing.Prohibit;
1152 rdr.XmlResolver = null;
1153 doc.Load(rdr);
1154 }
1150 } 1155 }
1151 catch (Exception e) 1156 catch (Exception e)
1152 { 1157 {