summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2019-09-27 10:34:38 +0000
committerRomain Derie <rde@odoo.com>2019-09-30 14:04:07 +0000
commit3408c4dd1eb197bdded6e87577ff71d7ffeca267 (patch)
treedfdecc45cb1cabfd93ad7629b85dd627fe70c130 /addons/web/static/src/js/views/basic
parent8d7004b5d4792264f99baae3da1461f43421d959 (diff)
[FIX] http_routing: restrict lang matching to installed lang
When accessing an URL, there is some computation to check if you try to access a lang. Part of this job is to get the closest language available. For instance, you could try to get `/fr_BE/..` and it would redirect to `/fr_FR/..` if french is installed but not belgian french. There is a known issue when loading files/assets from a module starting by the same letter than a lang, in debug assets. Only reported case was `hr_XXX` modules which would be redirected to `hr_HR` lang (croatian). So, the issue would only occur when: 1. Debug assets is enabled 2. hr_HR lang is activated 3. only hr_XX modules would be impacted But since 269aa59411, the issue would appear even if `hr_HR` was not activated. This commit restore the issue to its minimal case, when `hr_HR` lang is activated. closes odoo/odoo#37494 Signed-off-by: Olivier Dony (odo) <odo@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions