summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Wißmann <edu@thorsten-wissmann.de>2020-04-16 17:12:05 +0200
committerThorsten Wißmann <edu@thorsten-wissmann.de>2020-04-16 17:12:05 +0200
commit6e32a8dc07845590c290e56de687fdab9e485a9e (patch)
tree341c81ccce20c6b688e1db0cec24e3064a02d11d
parent3611dfbeb46825e3a054b3e829854e9a3fb8f2d1 (diff)
downloadqutebrowser-6e32a8dc07845590c290e56de687fdab9e485a9e.tar.gz
qutebrowser-6e32a8dc07845590c290e56de687fdab9e485a9e.zip
Remove URL validity check when parsing search engines
-rw-r--r--qutebrowser/config/configtypes.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/qutebrowser/config/configtypes.py b/qutebrowser/config/configtypes.py
index 16ec1d675..3d0f5c924 100644
--- a/qutebrowser/config/configtypes.py
+++ b/qutebrowser/config/configtypes.py
@@ -1776,11 +1776,6 @@ class SearchEngineUrl(BaseType):
except ValueError as e:
raise configexc.ValidationError(value, str(e))
- url = QUrl(value.replace('{}', 'foobar'))
- if not url.isValid():
- raise configexc.ValidationError(
- value, "invalid url, {}".format(url.errorString()))
-
return value