diff options
Diffstat (limited to 'searx/webapp.py')
| -rwxr-xr-x | searx/webapp.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index 59c1dd1a1..9793ee534 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -22,7 +22,7 @@ from typing import List, Dict, Iterable import urllib import urllib.parse -from urllib.parse import urlencode, unquote +from urllib.parse import urlencode, urlparse, unquote import httpx @@ -444,6 +444,7 @@ def render(template_name: str, **kwargs): } ) ) + kwargs['urlparse'] = urlparse # scripts from plugins kwargs['scripts'] = set() |