From 13654e3b7053f69544e8252f78d2e6ac44724a5b Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Sun, 5 Oct 2014 18:23:45 +0200 Subject: [PATCH] MGR: Support cookie detection on newer versions of chrome. --- clientgui/browser.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/clientgui/browser.cpp b/clientgui/browser.cpp index d2d7fc0b36..c91eec498a 100644 --- a/clientgui/browser.cpp +++ b/clientgui/browser.cpp @@ -812,7 +812,12 @@ bool detect_cookie_chrome( rc = sqlite3_open(tmp.c_str(), &db); if ( rc ) { sqlite3_close(db); - return false; + tmp = profile_root + "Safe Browsing Cookies"; + rc = sqlite3_open(tmp.c_str(), &db); + if ( rc ) { + sqlite3_close(db); + return false; + } } // construct SQL query to extract the desired cookie