[Pkg-owncloud-commits] [owncloud-client] 08/159: CookieJar: Session cookies should *not* be stored in cookies.db.

Sandro Knauß hefee-guest at moszumanska.debian.org
Fri May 1 13:05:15 UTC 2015


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

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 4ef0ce112c495984b9ff3d96b51887103b692035
Author: Christian Kamm <kamm at incasoftware.de>
Date:   Thu Mar 19 11:57:25 2015 +0100

    CookieJar: Session cookies should *not* be stored in cookies.db.
---
 src/libsync/cookiejar.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libsync/cookiejar.cpp b/src/libsync/cookiejar.cpp
index cf0ff5c..62aa2cc 100644
--- a/src/libsync/cookiejar.cpp
+++ b/src/libsync/cookiejar.cpp
@@ -103,7 +103,7 @@ void CookieJar::save()
     qDebug() << storagePath();
     file.open(QIODevice::WriteOnly);
     QDataStream stream(&file);
-    stream << allCookies();
+    stream << removeExpired(allCookies());
     file.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