aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs
diff options
context:
space:
mode:
authorDiva Canto2014-05-08 11:30:45 -0700
committerDiva Canto2014-05-08 11:30:45 -0700
commitafb938e5792e113dcae311b49b240204671b7028 (patch)
treeaf7ff7fcfbfd4fa8d7a6574521701fdfb13a5693 /OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs
parentMake the URL for texture redirects match the path of the resource that we use... (diff)
downloadopensim-SC-afb938e5792e113dcae311b49b240204671b7028.zip
opensim-SC-afb938e5792e113dcae311b49b240204671b7028.tar.gz
opensim-SC-afb938e5792e113dcae311b49b240204671b7028.tar.bz2
opensim-SC-afb938e5792e113dcae311b49b240204671b7028.tar.xz
Fix test breakage
Diffstat (limited to 'OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs')
-rw-r--r--OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs
index 48d637c..828e943 100644
--- a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs
+++ b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs
@@ -63,7 +63,7 @@ namespace OpenSim.Capabilities.Handlers
63 { 63 {
64 m_assetService = assService; 64 m_assetService = assService;
65 m_RedirectURL = redirectURL; 65 m_RedirectURL = redirectURL;
66 if (!m_RedirectURL.EndsWith("/")) 66 if (m_RedirectURL != null && !m_RedirectURL.EndsWith("/"))
67 m_RedirectURL += "/"; 67 m_RedirectURL += "/";
68 } 68 }
69 69