diff options
| author | Jeremy Kersten <jke@odoo.com> | 2019-10-01 14:48:24 +0000 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2019-10-01 15:53:04 +0000 |
| commit | eded0294ab1c5dfc6eb268f84d53ada9ba775352 (patch) | |
| tree | cedaa689b9d096c5f7c1d28daed884bda46dc0c1 /addons/website_theme_install/models/ir_module_module.py | |
| parent | 0467cab22511ebb037131f937d8cf5e872f496fd (diff) | |
[FIX] base, website: fix routing redirect
Redirect_type was renamed from 3xx to redirect_3xx, but name is used as http
status code. It is better a redirect(301) instead of redirect(redirect_301)
Re-add the bind_to_environ, it was removed because it seems not useful, but
once you are behind a proxy, werkzeug need the environ to find the correct
hostname and more ... Transformed relative url into absolute by werkzeug was
wrong.
closes odoo/odoo#37733
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/website_theme_install/models/ir_module_module.py')
0 files changed, 0 insertions, 0 deletions
