Thursday, September 16, 2021
1 change · master
Features or functions removed from Odoo
Odoo removed an old redirect helper that is no longer needed because modern browsers now preserve URL fragments during redirects. Redirects now use a standard library approach, simplifying maintenance while keeping login, portal, web, and website navigation behavior aligned with current browser standards.
Original PR description
This helper is now obsolete as most modern mainstream browsers now implement RFC 7231 [1], which dictates that browsers preserve the original fragment of the URL through redirects. Its use has been replaced by `werkzeug.utils.redirect` since browsers now automatically block/sandbox `data:` and `javascript:` schemes. Complements https://github.com/odoo/enterprise/pull/3572 [1] https://tools.ietf.org/html/rfc7231