-
- Downloads
[FIX] http_routing: should redirect only for multilang
Define a route that is website but not multilang, e.g.
@route('/example', website=True, multilang=False)
Login to the frontend, change the website lang to another (non-default)
lang (e.g. install french, keep english as default lang, log in the
french website) then access the '/example' controller by typing it
directly in your address bar.
You are being redirected to '/fr/example', you should not.
This commit restore the behavior pre-httpocalypse, that is the address
is kept as-is.
Note: in the comment, the 4th and 5th cases were inverted, we use this
commit as an opportunity to reorder the two.
closes odoo/odoo#104999
X-original-commit: 09dfb1af717cad4281ea0eefbecbe859751ed1bf
Signed-off-by:
Julien Castiaux <juc@odoo.com>
Loading
Please register or sign in to comment