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:
parent
fd78b6df3f
commit
a1fc792e37
@ -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.";
|
||||
|
Loading…
Reference in New Issue
Block a user