From 4c251a485b06c01b1112e625ece41bbed6756f55 Mon Sep 17 00:00:00 2001 From: Matthias Kortstiege Date: Sat, 17 Oct 2015 19:41:26 +0200 Subject: [texture] redact username/password when texture loading fails --- xbmc/guilib/Texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbmc/guilib/Texture.cpp b/xbmc/guilib/Texture.cpp index 10b08454f9..5cca9a0a9f 100644 --- a/xbmc/guilib/Texture.cpp +++ b/xbmc/guilib/Texture.cpp @@ -274,7 +274,7 @@ bool CBaseTexture::LoadFromFileInternal(const std::string& texturePath, unsigned pImage = ImageFactory::CreateFallbackLoader(texturePath); if (!LoadIImage(pImage, (unsigned char *)buf.get(), buf.size(), width, height)) { - CLog::Log(LOGDEBUG, "%s - Load of %s failed.", __FUNCTION__, texturePath.c_str()); + CLog::Log(LOGDEBUG, "%s - Load of %s failed.", __FUNCTION__, CURL::GetRedacted(texturePath).c_str()); delete pImage; return false; } -- cgit v1.2.3