Files
brave-core/patches/chrome-browser-external_protocol-external_protocol_handler.cc.patch
T

14 lines
728 B
Diff

diff --git a/chrome/browser/external_protocol/external_protocol_handler.cc b/chrome/browser/external_protocol/external_protocol_handler.cc
index 34eaaaeeed5d1cf18459bc5b95d5573d435f107d..af9bc7ebe056618d5335bb9a00291e4a143a6a86 100644
--- a/chrome/browser/external_protocol/external_protocol_handler.cc
+++ b/chrome/browser/external_protocol/external_protocol_handler.cc
@@ -314,7 +314,7 @@ ExternalProtocolHandler::BlockState ExternalProtocolHandler::GetBlockState(
// Always allow the hard-coded allowed schemes.
for (size_t i = 0; i < base::size(kAllowedSchemes); ++i) {
if (kAllowedSchemes[i] == scheme)
- return DONT_BLOCK;
+ return UNKNOWN;
}
PrefService* profile_prefs = profile->GetPrefs();