diff options
author | Melanie | 2011-05-14 21:09:52 +0100 |
---|---|---|
committer | Melanie | 2011-05-14 21:09:52 +0100 |
commit | 37a7b8786248e3af9774b8051dc29001b49179bd (patch) | |
tree | 18f5ae3490fe16ddf906482ef578bb590291d592 /OpenSim/Server | |
parent | Globally throttle script channel 0 comms to 5/s with 10s burst to prevent lag (diff) | |
parent | Also changed a couple of messages in WebUtil from Wanr/Info to Debug. (diff) | |
download | opensim-SC-37a7b8786248e3af9774b8051dc29001b49179bd.zip opensim-SC-37a7b8786248e3af9774b8051dc29001b49179bd.tar.gz opensim-SC-37a7b8786248e3af9774b8051dc29001b49179bd.tar.bz2 opensim-SC-37a7b8786248e3af9774b8051dc29001b49179bd.tar.xz |
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Server')
-rw-r--r-- | OpenSim/Server/Handlers/Grid/GridInfoHandlers.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Server/Handlers/Grid/GridInfoHandlers.cs b/OpenSim/Server/Handlers/Grid/GridInfoHandlers.cs index cdab49e..0da9fc1 100644 --- a/OpenSim/Server/Handlers/Grid/GridInfoHandlers.cs +++ b/OpenSim/Server/Handlers/Grid/GridInfoHandlers.cs | |||
@@ -30,6 +30,7 @@ using System.Collections; | |||
30 | using System.IO; | 30 | using System.IO; |
31 | using System.Net; | 31 | using System.Net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using System.Security; | ||
33 | using System.Text; | 34 | using System.Text; |
34 | using log4net; | 35 | using log4net; |
35 | using Nini.Config; | 36 | using Nini.Config; |
@@ -143,7 +144,7 @@ namespace OpenSim.Server.Handlers.Grid | |||
143 | sb.Append("<gridinfo>\n"); | 144 | sb.Append("<gridinfo>\n"); |
144 | foreach (string k in _info.Keys) | 145 | foreach (string k in _info.Keys) |
145 | { | 146 | { |
146 | sb.AppendFormat("<{0}>{1}</{0}>\n", k, _info[k]); | 147 | sb.AppendFormat("<{0}>{1}</{0}>\n", k, SecurityElement.Escape(_info[k].ToString())); |
147 | } | 148 | } |
148 | sb.Append("</gridinfo>\n"); | 149 | sb.Append("</gridinfo>\n"); |
149 | 150 | ||