From e47e78e2e9005268bc7ba6d22ac581c6cec23e82 Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Thu, 26 Oct 2017 16:22:33 +0200 Subject: [PATCH] [FIX] website_slides: pdf slide viewer slug When trying to get the pdf content in an IFrame, the url based on ID was not found and then redirected to a rewritten URL eventually with wrong protocol (https became http). This causes a bug in modern browser that doesn't allow mixed content if the base website is in https. By using the slug in the URL, there is no redirection and we avoid changing the protocol. Thanks @Gorash and @nim-odoo opw-777950 --- addons/website_slides/view/website_slides_embed.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/website_slides/view/website_slides_embed.xml b/addons/website_slides/view/website_slides_embed.xml index 4dd3036d2d6..89ae0f8e4db 100644 --- a/addons/website_slides/view/website_slides_embed.xml +++ b/addons/website_slides/view/website_slides_embed.xml @@ -61,7 +61,7 @@
@@ -135,7 +135,7 @@
- +