[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bkdelibs=5D_kioslave/http=3A_Only_cache_the_password?=
From: Dawit Alemayehu <adawit () kde ! org>
Date: 2011-05-07 1:50:29
Message-ID: 20110507015029.B17ADA60B0 () git ! kde ! org
[Download RAW message or body]
Git commit 86e197f77500782f482b5f64c40767bd2cbaea2b by Dawit Alemayehu.
Committed on 07/05/2011 at 03:19.
Pushed by adawit into branch 'master'.
Only cache the password if the user requested it.
M +3 -1 kioslave/http/http.cpp
http://commits.kde.org/kdelibs/86e197f77500782f482b5f64c40767bd2cbaea2b
diff --git a/kioslave/http/http.cpp b/kioslave/http/http.cpp
index bac73ed..b61037e 100644
--- a/kioslave/http/http.cpp
+++ b/kioslave/http/http.cpp
@@ -3014,7 +3014,9 @@ endParsing:
if (auth->realm().isEmpty() && \
!auth->supportsPathMatching())
\
setMetaData(QLatin1String("{internal~allhosts}proxy-auth-realm"), \
authinfo.realmValue); }
- cacheAuthentication(authinfo);
+ if (authinfo.keepPassword) {
+ cacheAuthentication(authinfo);
+ }
kDebug(7113) << "Caching authentication for" << m_request.url;
}
// Update our server connection state which includes www and proxy \
username and password.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic