odoo/odoo — pull request #761 by amigrave (2014-06-25 12:44:13+00:00)
Title: [FIX] _handle_exception() logic amongst requests and ir_http objects

Changes in website's ir_http#_handle_exception():

- exception is mandatory, can't be None anymore
- we don't touch non website_enabled requests
- we don't touch explicits plain responses from parent
- logic flow is now easier to read (I hope so)
- check for openerp's AccessError and convert to 403 errors

Change in website's ir_http#_dispatch():

- In case of real 404, instead of returning self._handle_exception(),
just let parent do the job (so we call super())