mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Oops. Forgot a try-catch on the last commit.
This commit is contained in:
@@ -83,8 +83,12 @@ 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);
|
||||
try
|
||||
{
|
||||
if (uri.EndsWith("/"))
|
||||
uri = uri.Substring(0, uri.Length - 1);
|
||||
}
|
||||
catch { }
|
||||
|
||||
IPAddress ipaddr1 = null;
|
||||
string port1 = "";
|
||||
|
||||
Reference in New Issue
Block a user