Commit efc300e7 authored by Jérome Perrin's avatar Jérome Perrin

don't save only request.other, because there might be some interesting...

don't save only request.other, because there might be some interesting parameters in request form as well.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36029 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1021a541
......@@ -93,10 +93,10 @@ else:\n
# save request parameters (after calling the report_method which may tweak the\n
# request). XXX we exclude some reserved names in a very ad hoc way\n
request_other = dict()\n
for k, v in request.other.items():\n
for k, v in request.items():\n
if k not in (\'TraversalRequestNameStack\', \'AUTHENTICATED_USER\', \'URL\',\n
\'SERVER_URL\', \'AUTHENTICATION_PATH\', \'USER_PREF_LANGUAGES\', \'PARENTS\',\n
\'PUBLISHED\', \'AcceptLanguage\', \'AcceptCharset\', \'RESPONSE\',\n
\'PUBLISHED\', \'AcceptLanguage\', \'AcceptCharset\', \'RESPONSE\', \'SESSION\',\n
\'ACTUAL_URL\'):\n
# XXX proxy fields stores a cache in request.other that cannot be pickled\n
if k.startswith(\'field__proxyfield\'):\n
......
90
\ No newline at end of file
92
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment