aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/HGNetworkServersInfo.cs
diff options
context:
space:
mode:
authordiva2009-01-31 00:28:51 +0000
committerdiva2009-01-31 00:28:51 +0000
commit26f99de45deec65c4984aeaafbc6170158263f44 (patch)
tree37cdbee23e66f6eabc586d95ad92b7626a915735 /OpenSim/Framework/HGNetworkServersInfo.cs
parentHopefully fixes mantis #3063. (diff)
downloadopensim-SC_OLD-26f99de45deec65c4984aeaafbc6170158263f44.zip
opensim-SC_OLD-26f99de45deec65c4984aeaafbc6170158263f44.tar.gz
opensim-SC_OLD-26f99de45deec65c4984aeaafbc6170158263f44.tar.bz2
opensim-SC_OLD-26f99de45deec65c4984aeaafbc6170158263f44.tar.xz
Fixes mantis #3061. Thanks Hallow Palmer for diagnosing the issue so well. I bet this inconsistency happens a lot out there.
Diffstat (limited to 'OpenSim/Framework/HGNetworkServersInfo.cs')
-rw-r--r--OpenSim/Framework/HGNetworkServersInfo.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Framework/HGNetworkServersInfo.cs b/OpenSim/Framework/HGNetworkServersInfo.cs
index 85fbe35..4e7ed95 100644
--- a/OpenSim/Framework/HGNetworkServersInfo.cs
+++ b/OpenSim/Framework/HGNetworkServersInfo.cs
@@ -82,6 +82,10 @@ namespace OpenSim.Framework
82 82
83 public static string ServerURI(string uri) 83 public static string ServerURI(string uri)
84 { 84 {
85 // Get rid of eventual slashes at the end
86 if (uri.EndsWith("/"))
87 uri = uri.Substring(0, uri.Length - 1);
88
85 IPAddress ipaddr1 = null; 89 IPAddress ipaddr1 = null;
86 string port1 = ""; 90 string port1 = "";
87 try 91 try