diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/HGNetworkServersInfo.cs | 4 |
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 |