summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2015-10-01 02:39:28 +0200
committerOlivier Dony <odo@openerp.com>2015-10-01 02:45:34 +0200
commit8932c52e672ef106d5614643511ea2b8cbe54473 (patch)
tree71643b791ac5904d8f9bd0e4631d7462c8bc46f8 /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
parent88b63a9b1957076bc05ce93270099b11e15cc851 (diff)
parentafa9f4b5fd5cd78336ec27a862dc626f7353ab24 (diff)
[MERGE] CSRF protection support in routes and forms
* make CSRF protection the default on all non-SAFE methods (any method besides GET, HEAD, TRACE and OPTIONS ) note: there currently is no way to call a CSRF-protected endpoint without a form-encoded entity-body as that's the only place we get the CSRF token from. * simple CSRF token generation: just use the HMAC'd session id, no generating a new random token per session then HMAC it * use constant-time equal function to avoid timing attacks * assert that a database secret is configured before hashing/validating the CSRF token * opt-out database manager from CSRF: the super-admin password serves the purpose of a CSRF token in the database manager screens. Implementation by xmo@odoo.com and chs@odoo.com
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions