diff options
author | wsnipex <wsnipex@a1.net> | 2014-09-07 20:44:02 +0200 |
---|---|---|
committer | wsnipex <wsnipex@a1.net> | 2014-09-07 20:51:07 +0200 |
commit | d28a9893d91cb90098a6d4a40953fc036fcc9885 (patch) | |
tree | 8c594707af425998ed5b9e3c32ad711e3d0b99c8 | |
parent | afd428c5c2bc30716c5156fcb2d35f8aa4c2d4fd (diff) |
[curl] redact effective URL
-rw-r--r-- | xbmc/filesystem/CurlFile.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xbmc/filesystem/CurlFile.cpp b/xbmc/filesystem/CurlFile.cpp index 123ceb50e7..3bd078163f 100644 --- a/xbmc/filesystem/CurlFile.cpp +++ b/xbmc/filesystem/CurlFile.cpp @@ -973,7 +973,10 @@ bool CCurlFile::Open(const CURL& url) if (CURLE_OK == g_curlInterface.easy_getinfo(m_state->m_easyHandle, CURLINFO_EFFECTIVE_URL,&efurl) && efurl) { if (m_url != efurl) - CLog::Log(LOGDEBUG,"CCurlFile::Open - effective URL: <%s>", efurl); + { + std::string redactEfpath = CURL::GetRedacted(efurl); + CLog::Log(LOGDEBUG,"CCurlFile::Open - effective URL: <%s>", redactEfpath.c_str()); + } m_url = efurl; } |