From a1fc792e37a20f58e94c1ddd3cb1a51b633f2f6a Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Mon, 20 Jan 2014 09:45:53 +0100 Subject: [PATCH] Web+: handle about: URLs internally Trying to open those using the MIME repo would lead to opening AboutSystem, probably not what you expected. Note that WebKit currently redirects all those URLs to about:blank. We could implement some of them, if really wanted. Fixes #9611. --- src/apps/webpositive/BrowserWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apps/webpositive/BrowserWindow.cpp b/src/apps/webpositive/BrowserWindow.cpp index 89b619e1ab..200a45c6bb 100644 --- a/src/apps/webpositive/BrowserWindow.cpp +++ b/src/apps/webpositive/BrowserWindow.cpp @@ -2322,7 +2322,8 @@ BrowserWindow::_SmartURLHandler(const BString& url) BString proto; url.CopyInto(proto, 0, at); - if (proto == "http" || proto == "https" || proto == "file") + if (proto == "http" || proto == "https" || proto == "file" + || proto == "about") _VisitURL(url); else { temp = "application/x-vnd.Be.URL.";