aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Connectors
diff options
context:
space:
mode:
authorMelanie2012-09-06 17:39:30 +0200
committerMelanie2012-09-06 17:39:30 +0200
commitac6448810e999c4c0c0035fff43b45db9a094094 (patch)
tree5eb15127367cffc24d04660e8df5f923fa449f1b /OpenSim/Services/Connectors
parentRevert "Change string concatenation to Path.Combine to eliminate extra slashes." (diff)
downloadopensim-SC_OLD-ac6448810e999c4c0c0035fff43b45db9a094094.zip
opensim-SC_OLD-ac6448810e999c4c0c0035fff43b45db9a094094.tar.gz
opensim-SC_OLD-ac6448810e999c4c0c0035fff43b45db9a094094.tar.bz2
opensim-SC_OLD-ac6448810e999c4c0c0035fff43b45db9a094094.tar.xz
Prevent double slashes, try #3
Diffstat (limited to 'OpenSim/Services/Connectors')
-rw-r--r--OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs3
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