diff options
author | Matthias Kortstiege <mkortstiege@kodi.tv> | 2014-10-24 10:30:58 +0200 |
---|---|---|
committer | Matthias Kortstiege <mkortstiege@kodi.tv> | 2014-10-24 10:30:58 +0200 |
commit | 9095e3b3c8aa0b5b1f5e72c00a9b3805edb7f079 (patch) | |
tree | 39e1a7fee633eecd4eebe05098e9030b48a8e58b | |
parent | 5cfbba5b5bb20e97be797aac59d578c1d8d72d0f (diff) |
[subtitles] do not log username/password
-rw-r--r-- | xbmc/Util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/Util.cpp b/xbmc/Util.cpp index 65c436f7fe..5158472b3f 100644 --- a/xbmc/Util.cpp +++ b/xbmc/Util.cpp @@ -2023,7 +2023,7 @@ void CUtil::ScanForExternalSubtitles(const std::string& strMovie, std::vector<st if (URIUtils::HasExtension(strItem, sub_exts[i])) { vecSubtitles.push_back( items[j]->GetPath() ); - CLog::Log(LOGINFO, "%s: found subtitle file %s\n", __FUNCTION__, items[j]->GetPath().c_str() ); + CLog::Log(LOGINFO, "%s: found subtitle file %s\n", __FUNCTION__, CURL::GetRedacted(items[j]->GetPath()).c_str() ); } } } @@ -2059,7 +2059,7 @@ void CUtil::ScanForExternalSubtitles(const std::string& strMovie, std::vector<st strDest = StringUtils::Format("special://temp/subtitle.%s.%d.smi", TagConv.m_Langclass[k].Name.c_str(), i); if (CFile::Copy(vecSubtitles[i], strDest)) { - CLog::Log(LOGINFO, " cached subtitle %s->%s\n", vecSubtitles[i].c_str(), strDest.c_str()); + CLog::Log(LOGINFO, " cached subtitle %s->%s\n", CURL::GetRedacted(vecSubtitles[i]).c_str(), strDest.c_str()); vecSubtitles.push_back(strDest); } } |