From a31393ba0becd593977fe85c79fb26746c42756e Mon Sep 17 00:00:00 2001
From: Diva Canto
Date: Thu, 8 May 2014 11:18:17 -0700
Subject: Make the URL for texture redirects match the path of the resource
 that we use in OpenSim.

---
 OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs')

diff --git a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs
index 4dfa847..48d637c 100644
--- a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs
+++ b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs
@@ -153,7 +153,7 @@ namespace OpenSim.Capabilities.Handlers
                 }
                 else
                 {
-                    string textureUrl = m_RedirectURL + textureID.ToString();
+                    string textureUrl = m_RedirectURL + "?texture_id="+ textureID.ToString();
                     m_log.Debug("[GETTEXTURE]: Redirecting texture request to " + textureUrl);
                     httpResponse.StatusCode = (int)OSHttpStatusCode.RedirectMovedPermanently;
                     httpResponse.RedirectLocation = textureUrl;
-- 
cgit v1.1