diff options
| author | Jeremy Kersten <jke@odoo.com> | 2015-12-01 00:15:14 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2015-12-01 13:47:30 +0100 |
| commit | f814dd9908355465dd03735f4589dd1697b3658a (patch) | |
| tree | e3164e4bfbb1dac79913966f192973b393acb13f /addons/website/static/src/js/website.contentMenu.js | |
| parent | d37c8ef6327a834eaed7ce0dfa6a6b775aad96c1 (diff) | |
[FIX] web, openerp: debug mode now works without referer
In some cases the Referer HTTP header may be missing or
stripped by a proxy, browser extension or anti-virus.
This breaks debug mode because it was solely relying
on the Referer header.
Introducing an explicit X-Debug-Mode header for RPC
calls allows for an alternative method that works
even when the Referer is missing.
This won't work in all cases, e.g. for direct $.ajax
calls, for example.
Closes #9824
Diffstat (limited to 'addons/website/static/src/js/website.contentMenu.js')
0 files changed, 0 insertions, 0 deletions
