diff options
| author | Paul Catinean <paulcatinean@gmail.com> | 2015-09-15 22:44:35 +0300 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-09-16 14:12:44 +0200 |
| commit | 40c35fb48ab8c4b73dc0b16654b4d7f16d4b945c (patch) | |
| tree | 0b07af9015c6291ba29af417068eef4fb9aff629 /addons/web_editor/static/src/js/transcoder.js | |
| parent | 2b1cdd551f54bcd7ad15aae1c76ba5d80dd85d95 (diff) | |
[FIX] website: set multilang to `False`on `website_image`
Add multilang=False to website_image controller to prevent redirects
Because website_image is decorated with website=True
Requests made for the product image at
`/website/image/product.template/xx_xx/..`
triggered redirections to add the language code to the
requests URLs. This redirection was useless, as setting
the language code for images is non-sense.
Adding `websitelang=False` prevents this redirection.
In addition, the redirection could lead to
SSL security concerns, as the redirection
could use the http:// scheme.
Closes #8515
Diffstat (limited to 'addons/web_editor/static/src/js/transcoder.js')
0 files changed, 0 insertions, 0 deletions
