Fixes mantis #3061. Thanks Hallow Palmer for diagnosing the issue so well. I bet this inconsistency happens a lot out there.
parent
360eb239b3
commit
26f99de45d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue