aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpkerling <pkerling@casix.org>2018-12-30 17:47:06 +0100
committerGitHub <noreply@github.com>2018-12-30 17:47:06 +0100
commit8dfb253ddf28f31af47c13bb901b3e7d6add5d6e (patch)
treeef3e228466dc1431157f576609522e0460552b71
parent3a0ee7c3774166b58fed981c73661ecd3ad13b67 (diff)
parent321ed34e5391125b4cbe780f12df976db9e5824f (diff)
Merge pull request #15162 from pkerling/excludefile-redact
Redact URL in CUtil::ExcludeFileOrFolder
-rw-r--r--xbmc/Util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/Util.cpp b/xbmc/Util.cpp
index 952cc76bd4..5ce3e67305 100644
--- a/xbmc/Util.cpp
+++ b/xbmc/Util.cpp
@@ -557,7 +557,7 @@ bool CUtil::ExcludeFileOrFolder(const std::string& strFileOrFolder, const std::v
}
if (regExExcludes.RegFind(strFileOrFolder) > -1)
{
- CLog::Log(LOGDEBUG, "%s: File '%s' excluded. (Matches exclude rule RegExp:'%s')", __FUNCTION__, strFileOrFolder.c_str(), regexp.c_str());
+ CLog::LogF(LOGDEBUG, "File '{}' excluded. (Matches exclude rule RegExp: '{}')", CURL::GetRedacted(strFileOrFolder), regexp);
return true;
}
}