From fa0330f0ff3c68c93308f156c30ce6a3366c1376 Mon Sep 17 00:00:00 2001 From: Cqoicebordel Date: Thu, 15 Jan 2015 20:18:40 +0100 Subject: [PATCH] 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 ? --- searx/engines/startpage.py | 1 - 1 file changed, 1 deletion(-) 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'