Make the URL for texture redirects match the path of the resource that we use in OpenSim.

bullet-2.82
Diva Canto 2014-05-08 11:18:17 -07:00
parent a845c1a893
commit a31393ba0b
1 changed files with 1 additions and 1 deletions

View File

@ -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;