Title: [242256] trunk/Source/WebCore
- Revision
- 242256
- Author
- hironori.fu...@sony.com
- Date
- 2019-02-28 20:40:56 -0800 (Thu, 28 Feb 2019)
Log Message
HTTPSUpgradeList.db database should be opened in readonly mode
https://bugs.webkit.org/show_bug.cgi?id=195194
<rdar://problem/47103889>
Unreviewed build fix for curl.
* platform/network/curl/CookieJarDB.cpp:
(WebCore::CookieJarDB::openDatabase): Removed the second arguemnt of SQLiteDatabase::open.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (242255 => 242256)
--- trunk/Source/WebCore/ChangeLog 2019-03-01 03:41:21 UTC (rev 242255)
+++ trunk/Source/WebCore/ChangeLog 2019-03-01 04:40:56 UTC (rev 242256)
@@ -1,3 +1,14 @@
+2019-02-28 Fujii Hironori <hironori.fu...@sony.com>
+
+ HTTPSUpgradeList.db database should be opened in readonly mode
+ https://bugs.webkit.org/show_bug.cgi?id=195194
+ <rdar://problem/47103889>
+
+ Unreviewed build fix for curl.
+
+ * platform/network/curl/CookieJarDB.cpp:
+ (WebCore::CookieJarDB::openDatabase): Removed the second arguemnt of SQLiteDatabase::open.
+
2019-02-28 Chris Dumez <cdu...@apple.com>
Unreviewed Windows build fix after r242251.
Modified: trunk/Source/WebCore/platform/network/curl/CookieJarDB.cpp (242255 => 242256)
--- trunk/Source/WebCore/platform/network/curl/CookieJarDB.cpp 2019-03-01 03:41:21 UTC (rev 242255)
+++ trunk/Source/WebCore/platform/network/curl/CookieJarDB.cpp 2019-03-01 04:40:56 UTC (rev 242256)
@@ -115,7 +115,7 @@
existsDatabaseFile = SQLiteFileSystem::ensureDatabaseFileExists(m_databasePath, false);
if (existsDatabaseFile) {
- if (m_database.open(m_databasePath, false)) {
+ if (m_database.open(m_databasePath)) {
if (checkDatabaseValidity())
executeSql(DELETE_ALL_SESSION_COOKIE_SQL);
else {
@@ -136,7 +136,7 @@
if (!FileSystem::makeAllDirectories(FileSystem::directoryName(m_databasePath)))
LOG_ERROR("Unable to create the Cookie Database path %s", m_databasePath.utf8().data());
- m_database.open(m_databasePath, false);
+ m_database.open(m_databasePath);
}
if (!m_database.isOpen())
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes