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.
This commit is contained in:
Adrien Destugues 2014-01-20 09:45:53 +01:00
parent fd78b6df3f
commit a1fc792e37

View File

@ -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.";