aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-10-15 20:24:44 +0000
committerJustin Clarke Casey2008-10-15 20:24:44 +0000
commit98fdf504d9833dc8a58b141765378a1167d2c680 (patch)
tree63ad48dd1c5f902dd1d4e834126a79f290670405 /OpenSim/Framework
parent* minor: comment out persisting prim inventory log messages (diff)
downloadopensim-SC-98fdf504d9833dc8a58b141765378a1167d2c680.zip
opensim-SC-98fdf504d9833dc8a58b141765378a1167d2c680.tar.gz
opensim-SC-98fdf504d9833dc8a58b141765378a1167d2c680.tar.bz2
opensim-SC-98fdf504d9833dc8a58b141765378a1167d2c680.tar.xz
* Truncate outgoing media and music urls to 254 characters.
* Hopefully this will resolve http://opensimulator.org/mantis/view.php?id=2383
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Util.cs40
1 files changed, 0 insertions, 40 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs
index 28c818a..0f0aa47 100644
--- a/OpenSim/Framework/Util.cs
+++ b/OpenSim/Framework/Util.cs
@@ -733,46 +733,6 @@ namespace OpenSim.Framework
733 } 733 }
734 } 734 }
735 735
736/* 2008-08-28-tyre: Obsolete (see LocalLoginService UserLoginService)
737 public static string[] ParseStartLocationRequest(string startLocationRequest)
738 {
739 string[] returnstring = new string[4];
740 // format uri:RegionName&X&Y&Z
741 returnstring[0] = "last";
742 returnstring[1] = "127";
743 returnstring[2] = "127";
744 returnstring[3] = "0";
745 // This is the crappy way of doing it.
746
747 if (startLocationRequest.Contains(":") && startLocationRequest.Contains("&"))
748 {
749 //System.Console.WriteLine("StartLocationRequest Contains proper elements");
750
751 string[] splitstr = startLocationRequest.Split(':'); //,2,StringSplitOptions.RemoveEmptyEntries);
752
753 //System.Console.WriteLine("Found " + splitstr.GetLength(0) + " elements in 1st split result");
754
755 if (splitstr.GetLength(0) == 2)
756 {
757 string[] splitstr2 = splitstr[1].Split('&'); //, 4, StringSplitOptions.RemoveEmptyEntries);
758
759 //System.Console.WriteLine("Found " + splitstr2.GetLength(0) + " elements in 2nd split result");
760
761 int len = Math.Min(splitstr2.GetLength(0), 4);
762
763 for (int i = 0; i < 4; ++i)
764 {
765 if (len > i)
766 {
767 returnstring[i] = splitstr2[i];
768 }
769 }
770 }
771 }
772 return returnstring;
773 }
774*/
775
776 public static XmlRpcResponse XmlRpcCommand(string url, string methodName, params object[] args) 736 public static XmlRpcResponse XmlRpcCommand(string url, string methodName, params object[] args)
777 { 737 {
778 return SendXmlRpcCommand(url, methodName, args); 738 return SendXmlRpcCommand(url, methodName, args);