[Pkg-owncloud-commits] [owncloud-client] 82/171: HttpCredentials::slotAuthentication: fix comment

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Feb 17 09:36:52 UTC 2016


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to annotated tag upstream/2.1.1+dfsg
in repository owncloud-client.

commit 81b7798ac220c8a3413a7f4e4ed6c80f1d89a0fc
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Thu Jan 7 14:58:02 2016 +0100

    HttpCredentials::slotAuthentication:  fix comment
    
    The recent revert did no fix the comment
---
 src/libsync/creds/httpcredentials.cpp | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/libsync/creds/httpcredentials.cpp b/src/libsync/creds/httpcredentials.cpp
index d30c009..fbe78fa 100644
--- a/src/libsync/creds/httpcredentials.cpp
+++ b/src/libsync/creds/httpcredentials.cpp
@@ -308,9 +308,8 @@ void HttpCredentials::slotWriteJobDone(QKeychain::Job *job)
 void HttpCredentials::slotAuthentication(QNetworkReply* reply, QAuthenticator* authenticator)
 {
     Q_UNUSED(authenticator)
-    // we cannot use QAuthenticator, because it sends username and passwords with latin1
-    // instead of utf8 encoding. Instead, we send it manually. Thus, if we reach this signal,
-    // those credentials were invalid and we terminate.
+    // Because of issue #4326, we need to set the login and password manually at every requests
+    // Thus, if we reach this signal, those credentials were invalid and we terminate.
     qDebug() << "Stop request: Authentication failed for " << reply->url().toString();
     reply->setProperty(authenticationFailedC, true);
     reply->close();

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list