Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

Fix startpage Fix issue with unicode caracters in startpage : we shouldn't urlencode them if we are using POST. Should fix #169. @dimqua can you confirm ?

Cqoicebordelfa0330f0ff3c
diff --git a/searx/engines/startpage.py b/searx/engines/startpage.py
index 70b193952..22da3ab84 100644
--- a/searx/engines/startpage.py
+++ b/searx/engines/startpage.py
@@ -38,7 +38,6 @@ link_xpath = './/h3/a'
# do search-request
def request(query, params):
offset = (params['pageno'] - 1) * 10
- query = urlencode({'q': query})[2:]
params['url'] = search_url
params['method'] = 'POST'