aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorace20022 <ace20022@ymail.com>2016-01-01 14:30:32 +0100
committerace20022 <ace20022@ymail.com>2016-01-06 23:39:20 +0100
commit66d7d3db65f432420dbf63c67e1317a41fd7cada (patch)
tree3b68a90f32a8a7317e3c19c1c622a3df28a56cc5
parent05046161fa0d860ed66f4c04c35f8a7b3ea0be14 (diff)
[gif] Redact filenames in gif log output.
-rw-r--r--xbmc/guilib/Gif.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/guilib/Gif.h b/xbmc/guilib/Gif.h
index 9a9d204522..2ad43e0ff2 100644
--- a/xbmc/guilib/Gif.h
+++ b/xbmc/guilib/Gif.h
@@ -24,6 +24,7 @@
#include "DllLibGif.h"
#include <memory>
#include <vector>
+#include "URL.h"
namespace XFILE
{
@@ -113,7 +114,7 @@ private:
inline std::string memOrFile()
{
- return m_filename.empty() ? std::string("memory file") : m_filename;
+ return m_filename.empty() ? std::string("memory file") : CURL::GetRedacted(m_filename);
}
};