1
0
Fork 0
4Creative-Changes/Patch/0001-Fix-a-typo-in-AssetSer...

27 lines
1.1 KiB
Diff

From b4fdb8c89d36ac807dcc83d1d5fd673fdc8b379f Mon Sep 17 00:00:00 2001
From: Chris <christopher@clatza.dev>
Date: Wed, 6 Jan 2021 13:31:26 +0100
Subject: [PATCH] Fix a typo in AssetServiceConnector what makes trouble with
the HTTP request path parser in AssetServerGetHandler.
---
OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs
index 1fad48eea5..c996053613 100644
--- a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs
+++ b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs
@@ -197,7 +197,7 @@ namespace OpenSim.Services.Connectors
using (RestClient rc = new RestClient(m_ServerURI))
{
- rc.AddResourcePath("assets/" + id + "/Data");
+ rc.AddResourcePath("assets/" + id + "/data");
rc.RequestMethod = "GET";
using (MemoryStream s = rc.Request(m_Auth))
--
2.29.2.windows.3