Prevent double slashes, try #3
parent
3257f4d5d2
commit
ac6448810e
|
@ -126,6 +126,9 @@ namespace OpenSim.Services.Connectors
|
|||
|
||||
// m_log.DebugFormat("[ASSET]: Using {0} for host name for prefix {1}", host, prefix);
|
||||
|
||||
string ret = serverUri.Uri.AbsoluteUri;
|
||||
if (ret.EndsWith("/"))
|
||||
ret = ret.Substring(0, ret.Length - 1);
|
||||
return serverUri.Uri.AbsoluteUri;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue