commit: fa0330f0ff3c68c93308f156c30ce6a3366c1376
parent 75bd4556f8cca8c39799fdee02739408a4d84cfa
Author: Cqoicebordel <Cqoicebordel@users.noreply.github.com>
Date: Thu, 15 Jan 2015 20:18:40 +0100
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 ?
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git 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'