OpenSimMirror/OpenSim
Justin Clark-Casey (justincc) e813f41478 Escape and unescape xml element names if necessary in ServerUtils.BuildXmlData() and ParseElement()
If AvatarService appearance data is retrieved over the network, then ServerUtils was attempting to transfer names such as "Wearable 0:0" directly to xml element names, resulting in an exception.
Space is not valid in xml element names.  Neither is : in this case since the intention is not to namespace.  Using names directly as keys is not a good idea.
To get around this problem this patch escapes and unescapes the element names as appropriate.
This has no impact on existing xml (since it had to be valid in the first place) but allows AvatarService data to be used over the network.
Setting appearance (from simulator to AvatarService) did not suffer this problem since the values are passed in the query string which is already properly escaped.
2012-05-09 21:11:14 +01:00
..
ApplicationPlugins Changed save oar and save iar parameter -p|--profile to -h|--home, including corresponding RemoteAdmin parameter 2012-02-03 23:53:18 +01:00
Capabilities Implement optional name and description on http stream handlers so that we can relate a slow request to what the handler actually does and the agent it serves, if applicable. 2012-05-03 01:45:49 +01:00
ConsoleClient Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead of the other way around. 2011-10-25 20:24:21 +01:00
Data If there are no new prim items to store then don't bother opening the MySqlConnection only to do nothing with it. 2012-04-30 16:00:31 +01:00
Framework Log the full exception when errors occur in BaseHttpServer 2012-05-07 19:56:00 +01:00
Region Mantis 6015 new LSL function llGetAgentList. 2012-05-09 00:14:24 +01:00
Server Escape and unescape xml element names if necessary in ServerUtils.BuildXmlData() and ParseElement() 2012-05-09 21:11:14 +01:00
Services minor: remove mono compiler warning 2012-05-04 21:04:42 +01:00
Tests Add regression test for teleporting between neighbouring regions on the same simulator 2012-05-01 23:14:12 +01:00
Tools minor: Rename pCampbot console prompt to "pCampbot" rather than "Region" 2012-03-02 01:54:48 +00:00