do not barf on unicode parameters
This commit is contained in:
parent
900015a622
commit
de90107561
|
@ -7,8 +7,7 @@
|
|||
mq python:modules['ZTUtils'].make_query;
|
||||
url batch_base_url | request/ACTUAL_URL;
|
||||
batchformkeys batchformkeys|nothing;
|
||||
batchlinkparams python:batchformkeys and dict([(key, request.form[key]) for key in batchformkeys
|
||||
if key in request]) or request.form;
|
||||
batchlinkparams python:batchformkeys and dict([(key, unicode(request.form[key]).encode('utf-8')) for key in batchformkeys if key in request]) or dict([(key, unicode(request.form[key]).encode('utf-8')) for key in request.form]);
|
||||
deputy_results view/deputy_results;
|
||||
page_results view/page_results;
|
||||
doc_results view/doc_results;
|
||||
|
|
Reference in New Issue