From 26f99de45deec65c4984aeaafbc6170158263f44 Mon Sep 17 00:00:00 2001 From: diva Date: Sat, 31 Jan 2009 00:28:51 +0000 Subject: Fixes mantis #3061. Thanks Hallow Palmer for diagnosing the issue so well. I bet this inconsistency happens a lot out there. --- OpenSim/Framework/HGNetworkServersInfo.cs | 4 ++++ 1 file changed, 4 insertions(+) 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 public static string ServerURI(string uri) { + // Get rid of eventual slashes at the end + if (uri.EndsWith("/")) + uri = uri.Substring(0, uri.Length - 1); + IPAddress ipaddr1 = null; string port1 = ""; try -- cgit v1.1