SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[fix] convert query to string to produce valid filename for csv output
Adam Tauber58a630308a95
diff --git a/searx/webapp.py b/searx/webapp.pyindex 49129d14e..0c5ed4570 100644--- a/searx/webapp.py+++ b/searx/webapp.py@@ -643,7 +643,7 @@ def index():csv.writerow([row.get(key, '') for key in keys])csv.stream.seek(0)response = Response(csv.stream.read(), mimetype='application/csv')- cont_disp = 'attachment;Filename=searx_-_{0}.csv'.format(search_query.query)+ cont_disp = 'attachment;Filename=searx_-_{0}.csv'.format(search_query.query.decode('utf-8'))response.headers.add('Content-Disposition', cont_disp)return responseelif output_format == 'rss':