summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-04-09 15:24:11 +0200
committerGitHub <noreply@github.com>2022-04-09 15:24:11 +0200
commite7644271531a7ea4d784bbb586f9e2725c546fd4 (patch)
tree7545f79fc62e013a98e79a037225a25a694f9fb0 /searx/webapp.py
parent921528123263e03002682399df055f50aa891b82 (diff)
parent5e7f46991104a6583676c6c9319a81b6f9a4b151 (diff)
Merge branch 'master' into switch-md-parser
Diffstat (limited to 'searx/webapp.py')
-rwxr-xr-xsearx/webapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 18a488934..648a49ebe 100755
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -434,7 +434,7 @@ def _get_enable_categories(all_categories: Iterable[str]):
def get_pretty_url(parsed_url: urllib.parse.ParseResult):
path = parsed_url.path
path = path[:-1] if len(path) > 0 and path[-1] == '/' else path
- path = unquote(path).replace("/", " › ")
+ path = unquote(path.replace("/", " › "))
return [parsed_url.scheme + "://" + parsed_url.netloc, path]