aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorlbsa712007-07-05 18:30:30 +0000
committerlbsa712007-07-05 18:30:30 +0000
commit8bdbdf48c7896a7cb47d49544ab528a508e557c9 (patch)
tree258a1087ce5e6341a0d903f88db67415c1a48b39 /OpenSim/Framework
parent*Removed SimProfile.cs as it is no longer needed (in favor of SimProfileData) (diff)
downloadopensim-SC-8bdbdf48c7896a7cb47d49544ab528a508e557c9.zip
opensim-SC-8bdbdf48c7896a7cb47d49544ab528a508e557c9.tar.gz
opensim-SC-8bdbdf48c7896a7cb47d49544ab528a508e557c9.tar.bz2
opensim-SC-8bdbdf48c7896a7cb47d49544ab528a508e557c9.tar.xz
* updated bugfixed xmlrpc for massive win
* got rid of the ugliest hack in the project
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Servers/BaseHttpServer.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs
index 84af9f6..f790477 100644
--- a/OpenSim/Framework/Servers/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/BaseHttpServer.cs
@@ -173,12 +173,8 @@ namespace OpenSim.Framework.Servers
173 173
174 string responseString = XmlRpcResponseSerializer.Singleton.Serialize(xmlRpcResponse); 174 string responseString = XmlRpcResponseSerializer.Singleton.Serialize(xmlRpcResponse);
175 175
176 // This must be absolutely fuggliest hack in this project. Don't just stand there, DO SOMETHING!
177 responseString = Regex.Replace(responseString, "utf-16", "utf-8");
178
179 byte[] buffer = Encoding.UTF8.GetBytes(responseString); 176 byte[] buffer = Encoding.UTF8.GetBytes(responseString);
180 177
181
182 response.SendChunked = false; 178 response.SendChunked = false;
183 response.ContentLength64 = buffer.Length; 179 response.ContentLength64 = buffer.Length;
184 response.ContentEncoding = Encoding.UTF8; 180 response.ContentEncoding = Encoding.UTF8;