Skip to content

Commit

Permalink
Merge pull request #4197 from brave/uplift-7291-1.3.x
Browse files Browse the repository at this point in the history
Sec Issue Fix (1.3.x)
  • Loading branch information
kjozwiak committed Dec 11, 2019
2 parents f440641 + 878223c commit 74088df
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions patches/chrome-browser-extensions-extension_tab_util.cc.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/chrome/browser/extensions/extension_tab_util.cc b/chrome/browser/extensions/extension_tab_util.cc
index 4e61dc7da6900c5080040559461dc4cfa41cfd25..021f7f746df58cfd755f79e010edafcbc805c96b 100644
--- a/chrome/browser/extensions/extension_tab_util.cc
+++ b/chrome/browser/extensions/extension_tab_util.cc
@@ -755,6 +755,7 @@ bool ExtensionTabUtil::IsKillURL(const GURL& url) {
GURL fixed_url =
url_formatter::FixupURL(url.possibly_invalid_spec(), std::string());
if (!fixed_url.SchemeIs(content::kChromeUIScheme))
+ if (!fixed_url.SchemeIs(content::kBraveUIScheme))
return false;

base::StringPiece fixed_host = fixed_url.host_piece();

0 comments on commit 74088df

Please sign in to comment.