1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 20:17:45 +01:00

[fix] request args

This commit is contained in:
Adam Tauber 2015-03-15 12:13:24 +01:00
parent bd92b43449
commit 22c4195c89

View File

@ -309,7 +309,7 @@ def render(template_name, override_theme=None, **kwargs):
def pre_request(): def pre_request():
# merge GET, POST vars # merge GET, POST vars
request.form = dict(request.form.items()) request.form = dict(request.form.items())
for k, v in request.args: for k, v in request.args.items():
if k not in request.form: if k not in request.form:
request.form[k] = v request.form[k] = v