Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
Remove wrong strict secure condition. We will always apply secure scheme
Browse files Browse the repository at this point in the history
when cookie is secure

@Auditors: @bsclifton, @bbondy
  • Loading branch information
darkdh committed Sep 25, 2017
1 parent 216111f commit 3a6ee2a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions brave/utility/importer/chrome_importer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,6 @@ void ChromeImporter::ImportCookies() {
base::Time::FromDoubleT(chromeTimeToDouble((s.ColumnInt64(4))));
cookie.secure = s.ColumnBool(5);
cookie.httponly = s.ColumnBool(6);
// skip cookie not match strict secure rule
if (cookie.secure && cookie.httponly) {
continue;
}
std::string encrypted_value = s.ColumnString(7);
net::CookieCryptoDelegate* delegate =
cookie_config::GetCookieCryptoDelegate();
Expand Down

0 comments on commit 3a6ee2a

Please sign in to comment.