diff options
author | Melanie | 2012-09-06 17:39:30 +0200 |
---|---|---|
committer | Melanie | 2012-09-06 17:39:30 +0200 |
commit | ac6448810e999c4c0c0035fff43b45db9a094094 (patch) | |
tree | 5eb15127367cffc24d04660e8df5f923fa449f1b /OpenSim/Services/Connectors/Asset | |
parent | Revert "Change string concatenation to Path.Combine to eliminate extra slashes." (diff) | |
download | opensim-SC-ac6448810e999c4c0c0035fff43b45db9a094094.zip opensim-SC-ac6448810e999c4c0c0035fff43b45db9a094094.tar.gz opensim-SC-ac6448810e999c4c0c0035fff43b45db9a094094.tar.bz2 opensim-SC-ac6448810e999c4c0c0035fff43b45db9a094094.tar.xz |
Prevent double slashes, try #3
Diffstat (limited to 'OpenSim/Services/Connectors/Asset')
-rw-r--r-- | OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs index 45ebf3a..091e41a 100644 --- a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs +++ b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs | |||
@@ -126,6 +126,9 @@ namespace OpenSim.Services.Connectors | |||
126 | 126 | ||
127 | // m_log.DebugFormat("[ASSET]: Using {0} for host name for prefix {1}", host, prefix); | 127 | // m_log.DebugFormat("[ASSET]: Using {0} for host name for prefix {1}", host, prefix); |
128 | 128 | ||
129 | string ret = serverUri.Uri.AbsoluteUri; | ||
130 | if (ret.EndsWith("/")) | ||
131 | ret = ret.Substring(0, ret.Length - 1); | ||
129 | return serverUri.Uri.AbsoluteUri; | 132 | return serverUri.Uri.AbsoluteUri; |
130 | } | 133 | } |
131 | 134 | ||