Skip to content
Snippets Groups Projects
Commit eded0294 authored by Jeremy Kersten's avatar Jeremy Kersten
Browse files

[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: default avatarJérémy Kersten (jke) <jke@openerp.com>
parent 0467cab2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment