Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

password manager: don't save/store authenticated url if it doesn't co…

…ntain username
  • Loading branch information...
commit 564def5a703e4ca4a3a6248775b4b927b1c949b9 1 parent 25aff62
@pieh pieh authored pieh committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 xbmc/PasswordManager.cpp
4 xbmc/PasswordManager.cpp
@@ -85,6 +85,10 @@ bool CPasswordManager::PromptToAuthenticateURL(CURL &url)
void CPasswordManager::SaveAuthenticatedURL(const CURL &url, bool saveToProfile)
+ // don't store/save authenticated url if it doesn't contain username
+ if (url.GetUserName().IsEmpty())
+ return;
CSingleLock lock(m_critSection);
CStdString path = GetLookupPath(url);
Please sign in to comment.
Something went wrong with that request. Please try again.