aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwsnipex <wsnipex@a1.net>2014-09-07 20:44:02 +0200
committerwsnipex <wsnipex@a1.net>2014-09-07 20:51:07 +0200
commitd28a9893d91cb90098a6d4a40953fc036fcc9885 (patch)
tree8c594707af425998ed5b9e3c32ad711e3d0b99c8
parentafd428c5c2bc30716c5156fcb2d35f8aa4c2d4fd (diff)
[curl] redact effective URL
-rw-r--r--xbmc/filesystem/CurlFile.cpp5
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;
}