diff options
author | Martijn Kaijser <martijn@xbmc.org> | 2018-09-24 10:53:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-24 10:53:51 +0200 |
commit | e5a2f5462464a3e5bcf09e6fa03d3da07a81beb7 (patch) | |
tree | b285fed95f62c6600d1a14ce8e35847eec91e662 | |
parent | 3238e00357d40352a8dd6f2478fe1c4255bb5a76 (diff) | |
parent | 87ffcf724b17261a399cff3a46699854e80c3715 (diff) |
Merge pull request #14467 from wsnipex/redact_log
[guiinfo] redact user/pass in debug logging
-rw-r--r-- | xbmc/guilib/guiinfo/PlayerGUIInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/guilib/guiinfo/PlayerGUIInfo.cpp b/xbmc/guilib/guiinfo/PlayerGUIInfo.cpp index 22f2333515..44aa80075f 100644 --- a/xbmc/guilib/guiinfo/PlayerGUIInfo.cpp +++ b/xbmc/guilib/guiinfo/PlayerGUIInfo.cpp @@ -24,6 +24,7 @@ #include "utils/URIUtils.h" #include "utils/Variant.h" #include "utils/log.h" +#include "URL.h" #include "guilib/guiinfo/GUIInfo.h" #include "guilib/guiinfo/GUIInfoHelper.h" @@ -157,7 +158,7 @@ bool CPlayerGUIInfo::InitCurrentItem(CFileItem *item) { if (item && g_application.GetAppPlayer().IsPlaying()) { - CLog::Log(LOGDEBUG,"CPlayerGUIInfo::InitCurrentItem(%s)", item->GetPath().c_str()); + CLog::Log(LOGDEBUG,"CPlayerGUIInfo::InitCurrentItem(%s)", CURL::GetRedacted(item->GetPath()).c_str()); m_currentItem.reset(new CFileItem(*item)); } else |