diff --git a/libcef/browser/net/chrome_scheme_handler.cc b/libcef/browser/net/chrome_scheme_handler.cc index dbafb4687..d4956e43c 100644 --- a/libcef/browser/net/chrome_scheme_handler.cc +++ b/libcef/browser/net/chrome_scheme_handler.cc @@ -76,6 +76,7 @@ const char* kAllowedWebUIHosts[] = { content::kChromeUIAppCacheInternalsHost, chrome::kChromeUIAccessibilityHost, content::kChromeUIBlobInternalsHost, + chrome::kChromeUIChromeURLsHost, chrome::kChromeUICreditsHost, kChromeUIExtensionsSupportHost, content::kChromeUIGpuHost, @@ -120,6 +121,7 @@ const struct { const char* host; ChromeHostId host_id; } kAllowedCefHosts[] = { + {chrome::kChromeUIChromeURLsHost, CHROME_WEBUI_HOSTS}, {kChromeUIExtensionsSupportHost, CHROME_EXTENSIONS_SUPPORT}, {kChromeUILicenseHost, CHROME_LICENSE}, {chrome::kChromeUIVersionHost, CHROME_VERSION}, @@ -397,8 +399,8 @@ bool OnVersionUI(Profile* profile, bool OnWebUIHostsUI(std::string* mime_type, std::string* output) { std::string html = - "\nWebUI Hosts\n" - "

WebUI Hosts

\n