[FIX] test_website: add test for 308 redirect and qs
With a 308 redirection from `/url` to `/new_url`:
Links like `/url?a=a` should be rewritten to `/new_url?a=a` and not
`/new_url?a=a&a=a`.
closes odoo/odoo#81685
Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
Showing
- addons/test_website/controllers/main.py 4 additions, 0 deletionsaddons/test_website/controllers/main.py
- addons/test_website/data/test_website_data.xml 3 additions, 0 deletionsaddons/test_website/data/test_website_data.xml
- addons/test_website/tests/test_redirect.py 14 additions, 0 deletionsaddons/test_website/tests/test_redirect.py
Loading
Please register or sign in to comment