diff options
author | Justin Clark-Casey (justincc) | 2012-12-05 21:52:10 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-12-05 21:52:10 +0000 |
commit | fdf8876e20e519e2c69f0bd0fed4aea7ff4bab8d (patch) | |
tree | e5ba5c26caceabcb41201cc6ad1f3be14db20789 | |
parent | In XEngine.DoOnRezScript() use Culture.SetCurrentCulture() instead of constru... (diff) | |
download | opensim-SC-fdf8876e20e519e2c69f0bd0fed4aea7ff4bab8d.zip opensim-SC-fdf8876e20e519e2c69f0bd0fed4aea7ff4bab8d.tar.gz opensim-SC-fdf8876e20e519e2c69f0bd0fed4aea7ff4bab8d.tar.bz2 opensim-SC-fdf8876e20e519e2c69f0bd0fed4aea7ff4bab8d.tar.xz |
In BaseHttpServer.HandleRequest(), use Culture.SetCurrentCulture() rather than creating a new CultureInfo separately
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs index 2cd626f..8a0340f 100644 --- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | |||
@@ -436,7 +436,7 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
436 | // reqnum = String.Format("{0}:{1}",request.RemoteIPEndPoint,request.Headers["opensim-request-id"]); | 436 | // reqnum = String.Format("{0}:{1}",request.RemoteIPEndPoint,request.Headers["opensim-request-id"]); |
437 | //m_log.DebugFormat("[BASE HTTP SERVER]: <{0}> handle request for {1}",reqnum,request.RawUrl); | 437 | //m_log.DebugFormat("[BASE HTTP SERVER]: <{0}> handle request for {1}",reqnum,request.RawUrl); |
438 | 438 | ||
439 | Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US", true); | 439 | Culture.SetCurrentCulture(); |
440 | 440 | ||
441 | // // This is the REST agent interface. We require an agent to properly identify | 441 | // // This is the REST agent interface. We require an agent to properly identify |
442 | // // itself. If the REST handler recognizes the prefix it will attempt to | 442 | // // itself. If the REST handler recognizes the prefix it will attempt to |