From 4692414255ce9ba6e770a5d2c34cabc6e1a1c57d Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sat, 26 Apr 2014 14:47:00 +0200 Subject: [PATCH] Support file:// as special URLs --- qutebrowser/utils/url.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/utils/url.py b/qutebrowser/utils/url.py index 5d18c3528..d83e5176c 100644 --- a/qutebrowser/utils/url.py +++ b/qutebrowser/utils/url.py @@ -145,7 +145,7 @@ def fuzzy_url(url): def is_special_url(url): """Return True if url is an about:... or other special URL.""" # FIXME this needs to be done is some nicer way - _special_schemes = ['about', 'qute'] + _special_schemes = ['about', 'qute', 'file'] return any([urlstring(url).replace('http://', '').startswith(scheme) for scheme in _special_schemes])