diff options
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Servers/BaseHttpServer.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs index 86ce4c3..4399a75 100644 --- a/OpenSim/Framework/Servers/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/BaseHttpServer.cs | |||
@@ -607,9 +607,14 @@ namespace OpenSim.Framework.Servers | |||
607 | 607 | ||
608 | LLSD llsdRequest = null; | 608 | LLSD llsdRequest = null; |
609 | LLSD llsdResponse = null; | 609 | LLSD llsdResponse = null; |
610 | 610 | ||
611 | bool LegacyLLSDLoginLibOMV = (requestBody.Contains("passwd") && requestBody.Contains("mac") && requestBody.Contains("viewer_digest")); | 611 | bool LegacyLLSDLoginLibOMV = (requestBody.Contains("passwd") && requestBody.Contains("mac") && requestBody.Contains("viewer_digest")); |
612 | 612 | ||
613 | if (requestBody.Length == 0) | ||
614 | // Get Request | ||
615 | { | ||
616 | requestBody = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><llsd><map><key>request</key><string>get</string></map></llsd>"; | ||
617 | } | ||
613 | try | 618 | try |
614 | { | 619 | { |
615 | llsdRequest = LLSDParser.DeserializeXml(requestBody); | 620 | llsdRequest = LLSDParser.DeserializeXml(requestBody); |