diff options
Diffstat (limited to 'content/browser/browser_url_handler_impl.cc')
-rw-r--r-- | content/browser/browser_url_handler_impl.cc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/content/browser/browser_url_handler_impl.cc b/content/browser/browser_url_handler_impl.cc index 10a5c88..4eaf1ec 100644 --- a/content/browser/browser_url_handler_impl.cc +++ b/content/browser/browser_url_handler_impl.cc @@ -24,9 +24,13 @@ static bool HandleViewSource(GURL* url, BrowserContext* browser_context) { // Bug 26129: limit view-source to view the content and not any // other kind of 'active' url scheme like 'javascript' or 'data'. static const char* const default_allowed_sub_schemes[] = { - kHttpScheme, kHttpsScheme, kFtpScheme, - chrome::kChromeDevToolsScheme, chrome::kChromeUIScheme, - kFileScheme, kFileSystemScheme + kHttpScheme, + kHttpsScheme, + kFtpScheme, + chrome::kChromeDevToolsScheme, + kChromeUIScheme, + kFileScheme, + kFileSystemScheme }; // Merge all the schemes for which view-source is allowed by default, with |