This commit add tests to ensure every dispatch flows redirect to a 301 if the requested URL has a trailing slash. It also ensures the URL params are not lost in the process. - Basic controller: `/my/?a=b` - Website Pages: `/my-page/?a=b` - Basic controller with language: `/fr_BE/my/?a=b` - Website Pages with language: `/fr_BE/my-page/?a=b` - Homepage with language (special case/controller): `/fr_BE/?a=b` opw-2505818 opw-2513575 closes odoo/odoo#71065 Community: https://github.com/odoo/odoo/pull/71065 Enterprise: https://github.com/odoo/enterprise/pull/18615 Related: odoo/enterprise#18615 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>