From c8882cd75e19f1520401c2ce31125e08c7bf27e9 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 5 May 2014 13:36:36 +0200 Subject: [PATCH] Fix protocol detection in _is_url_naive --- 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 32fe614a0..f44ae3bdc 100644 --- a/qutebrowser/utils/url.py +++ b/qutebrowser/utils/url.py @@ -72,7 +72,7 @@ def _is_url_naive(url): Return: True if the url really is an URL, False otherwise. """ - protocols = ['http://', 'https://'] + protocols = ['http', 'https'] if isinstance(url, QUrl): u = url else: