CookieJar: Session cookies should *not* be stored in cookies.db.
authorChristian Kamm <kamm@incasoftware.de>
Thu, 19 Mar 2015 10:57:25 +0000 (11:57 +0100)
committerChristian Kamm <kamm@incasoftware.de>
Thu, 19 Mar 2015 10:57:25 +0000 (11:57 +0100)
src/libsync/cookiejar.cpp

index cf0ff5c5605e2a4fb92231ac56abb4ee2cab92ee..62aa2ccbf2f87b621496d6c4813c6c6e104c3083 100644 (file)
@@ -103,7 +103,7 @@ void CookieJar::save()
     qDebug() << storagePath();
     file.open(QIODevice::WriteOnly);
     QDataStream stream(&file);
-    stream << allCookies();
+    stream << removeExpired(allCookies());
     file.close();
 }