Fixes mantis #3061. Thanks Hallow Palmer for diagnosing the issue so well. I bet this inconsistency happens a lot out there.

0.6.3-post-fixes
diva 2009-01-31 00:28:51 +00:00
parent 360eb239b3
commit 26f99de45d
1 changed files with 4 additions and 0 deletions

View File

@ -82,6 +82,10 @@ namespace OpenSim.Framework
public static string ServerURI(string uri) 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; IPAddress ipaddr1 = null;
string port1 = ""; string port1 = "";
try try