Title: [132583] trunk/Source/WebCore
Revision
132583
Author
commit-qu...@webkit.org
Date
2012-10-26 01:24:24 -0700 (Fri, 26 Oct 2012)

Log Message

[Qt]REGRESSION(r131428): cookies.db created on wrong place
https://bugs.webkit.org/show_bug.cgi?id=99445

Patch by János Badics <jbad...@inf.u-szeged.hu> on 2012-10-26
Reviewed by Simon Hausmann.

Added a slash to the path of cookies.db in CookieJarQt.cpp.

* platform/qt/CookieJarQt.cpp:
(WebCore::SharedCookieJarQt::SharedCookieJarQt):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (132582 => 132583)


--- trunk/Source/WebCore/ChangeLog	2012-10-26 08:11:34 UTC (rev 132582)
+++ trunk/Source/WebCore/ChangeLog	2012-10-26 08:24:24 UTC (rev 132583)
@@ -1,3 +1,15 @@
+2012-10-26  János Badics  <jbad...@inf.u-szeged.hu>
+
+        [Qt]REGRESSION(r131428): cookies.db created on wrong place
+        https://bugs.webkit.org/show_bug.cgi?id=99445
+
+        Reviewed by Simon Hausmann.
+
+        Added a slash to the path of cookies.db in CookieJarQt.cpp.
+
+        * platform/qt/CookieJarQt.cpp:
+        (WebCore::SharedCookieJarQt::SharedCookieJarQt):
+
 2012-10-26  Adam Barth  <aba...@webkit.org>
 
         Unreviewed. This ASSERT is no longer correct (and fires on many tests.)

Modified: trunk/Source/WebCore/platform/qt/CookieJarQt.cpp (132582 => 132583)


--- trunk/Source/WebCore/platform/qt/CookieJarQt.cpp	2012-10-26 08:11:34 UTC (rev 132582)
+++ trunk/Source/WebCore/platform/qt/CookieJarQt.cpp	2012-10-26 08:24:24 UTC (rev 132583)
@@ -235,7 +235,7 @@
 {
     m_database = QSqlDatabase::addDatabase(QLatin1String("QSQLITE"));
     const QString cookieStoragePath = cookieStorageDirectory;
-    const QString dataBaseName = cookieStoragePath + QLatin1String("cookies.db");
+    const QString dataBaseName = cookieStoragePath + QLatin1String("/cookies.db");
     m_database.setDatabaseName(dataBaseName);
     ensureDatabaseTable();
     loadCookies();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to