aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDr Scofield2008-07-18 14:40:07 +0000
committerDr Scofield2008-07-18 14:40:07 +0000
commita6e2589537eb0312aad3f96137135768d0a8c957 (patch)
tree612283aad1469c2e5623c9623c09307799250aa9
parentadditional patterns for .hgignore (diff)
downloadopensim-SC_OLD-a6e2589537eb0312aad3f96137135768d0a8c957.zip
opensim-SC_OLD-a6e2589537eb0312aad3f96137135768d0a8c957.tar.gz
opensim-SC_OLD-a6e2589537eb0312aad3f96137135768d0a8c957.tar.bz2
opensim-SC_OLD-a6e2589537eb0312aad3f96137135768d0a8c957.tar.xz
force Culture to en-US in BaseHttpserver.HandleRequest() --- this
fixes mantis #1748 and #1771.
-rw-r--r--OpenSim/Framework/Servers/BaseHttpServer.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs
index 9d2a804..170a653 100644
--- a/OpenSim/Framework/Servers/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/BaseHttpServer.cs
@@ -160,6 +160,9 @@ namespace OpenSim.Framework.Servers
160 /// <param name="stateinfo"></param> 160 /// <param name="stateinfo"></param>
161 public virtual void HandleRequest(Object stateinfo) 161 public virtual void HandleRequest(Object stateinfo)
162 { 162 {
163 // force the culture to en-US
164 Culture.SetCurrentCulture();
165
163 // If we don't catch the exception here it will just disappear into the thread pool and we'll be none the wiser 166 // If we don't catch the exception here it will just disappear into the thread pool and we'll be none the wiser
164 try 167 try
165 { 168 {