Prevent double slashes, try #4

avinationmerge
UbitUmarov 2012-09-06 18:41:21 +01:00
parent ac6448810e
commit f53ca6285b
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ namespace OpenSim.Services.Connectors
string ret = serverUri.Uri.AbsoluteUri; string ret = serverUri.Uri.AbsoluteUri;
if (ret.EndsWith("/")) if (ret.EndsWith("/"))
ret = ret.Substring(0, ret.Length - 1); ret = ret.Substring(0, ret.Length - 1);
return serverUri.Uri.AbsoluteUri; return ret;
} }
protected void retryCheck(object source, ElapsedEventArgs e) protected void retryCheck(object source, ElapsedEventArgs e)