mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 13:15:44 +08:00
Prevent double slashes, try #3
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user