From a6e2589537eb0312aad3f96137135768d0a8c957 Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Fri, 18 Jul 2008 14:40:07 +0000 Subject: [PATCH] force Culture to en-US in BaseHttpserver.HandleRequest() --- this fixes mantis #1748 and #1771. --- OpenSim/Framework/Servers/BaseHttpServer.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs index 9d2a804aec..170a65396f 100644 --- a/OpenSim/Framework/Servers/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/BaseHttpServer.cs @@ -160,6 +160,9 @@ namespace OpenSim.Framework.Servers /// public virtual void HandleRequest(Object stateinfo) { + // force the culture to en-US + Culture.SetCurrentCulture(); + // If we don't catch the exception here it will just disappear into the thread pool and we'll be none the wiser try {