-
- Downloads
[IMP] http_routing: support redirect of double slash in middle of path
Move code to support only the redirect from url containing double '/' in the middle of the path. Keep same behavior than v15 and default Apache behavior. domain.com//shop/product/1 -> 404 domain.com/shop//product/1 -> 301 -> /shop/product/1 opw-3063387 closes odoo/odoo#105936 X-original-commit: 0c6a474202970daebd232c16edb8cf7bf872a918 Signed-off-by:Julien Castiaux <juc@odoo.com> Signed-off-by:
Jérémy Kersten <jke@odoo.com>
Showing
- addons/http_routing/models/ir_http.py 7 additions, 0 deletionsaddons/http_routing/models/ir_http.py
- addons/website/tests/test_http_endpoint.py 7 additions, 0 deletionsaddons/website/tests/test_http_endpoint.py
- odoo/addons/test_http/tests/test_misc.py 1 addition, 2 deletionsodoo/addons/test_http/tests/test_misc.py
- odoo/http.py 0 additions, 8 deletionsodoo/http.py
Loading
Please register or sign in to comment