-
- Downloads
[FIX] *: replace werkzeug's Response by odoo's Response
*: base, http_routing, mass_mailing, web, web_editor, website_slides In some situations `werkzeug.wrappers.Response` are used instead of `odoo.http.Reponse` that extends it. This is a problem because since [1] the calls to `set_cookie` expect it to accept the `cookie_type` parameter, which is not the case in the base werkzeug implementation. This commit replaces the `werkzeug.wrappers.Response` by `odoo.http.Response`. [1]: https://github.com/odoo/odoo/commit/2cbda6c98ee947cea1d06c09880eee8c758304a8 closes odoo/odoo#111997 Signed-off-by:Julien Castiaux (juc) <juc@odoo.com>
Showing
- addons/http_routing/models/ir_http.py 2 additions, 2 deletionsaddons/http_routing/models/ir_http.py
- addons/mass_mailing/controllers/main.py 2 additions, 2 deletionsaddons/mass_mailing/controllers/main.py
- addons/web/controllers/binary.py 9 additions, 3 deletionsaddons/web/controllers/binary.py
- addons/web/controllers/database.py 2 additions, 7 deletionsaddons/web/controllers/database.py
- addons/web/controllers/report.py 0 additions, 4 deletionsaddons/web/controllers/report.py
- addons/web_editor/controllers/main.py 2 additions, 3 deletionsaddons/web_editor/controllers/main.py
- addons/website_slides/controllers/main.py 2 additions, 2 deletionsaddons/website_slides/controllers/main.py
- odoo/addons/base/controllers/rpc.py 1 addition, 2 deletionsodoo/addons/base/controllers/rpc.py
- odoo/http.py 1 addition, 0 deletionsodoo/http.py
Loading
Please register or sign in to comment