diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2018-04-26 13:34:41 +0200 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2018-05-02 10:03:22 +0200 |
| commit | 208a400b0656a42912a1b2cd174e851ad1a9de9f (patch) | |
| tree | ed8e1179d5bb535ed65c8c331d45725cda517cd5 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 95a90689aaad7e607bf5df0e5b5ec29f0a0324aa (diff) | |
[FIX] website_slides: avoid mixed content iframe when computing iframe src
Have a nginx set up with HTTPS (and the web.base.url too, obviously)
HAve a multilang website
Call a slide with the https domain with the non-default lang in the path of the resource
[https://domain/fr_FR/slide....]
Before this commit, when the iframe src is requested for by the browser
the python will transform the url of the iframe by injecting /fr_FR/
When the request for the *content* of the iframe is actually fetched by the browser, there is a mixed content
(though in the SAAS case and through cloudFlare for some reason)
After this commit, since we explicitly form the iframe src with lang, there is no error of mixed content
OPW 1839308
closes #24445
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
