From 0ceffe2fa3603f6604322f02f8b25fedae5e7c3c Mon Sep 17 00:00:00 2001 From: Pierre Cadeot Date: Thu, 11 Mar 2021 11:44:38 +0400 Subject: [PATCH] =?UTF-8?q?fixes=20#31884=20url=20des=20icones=20de=20cat?= =?UTF-8?q?=C3=A9gories=20d'annonces=20pr=C3=A9fix=C3=A9es=20par=20//=20pl?= =?UTF-8?q?utot=20que=20https://?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/Cadoles/EdispatcherBundle/Controller/ApiController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ninegate-1.0/src/Cadoles/EdispatcherBundle/Controller/ApiController.php b/src/ninegate-1.0/src/Cadoles/EdispatcherBundle/Controller/ApiController.php index 22f19324..19e213d5 100755 --- a/src/ninegate-1.0/src/Cadoles/EdispatcherBundle/Controller/ApiController.php +++ b/src/ninegate-1.0/src/Cadoles/EdispatcherBundle/Controller/ApiController.php @@ -376,7 +376,8 @@ EOL return new Response(json_encode($output), 400); } - $weburl="https://".$this->getParameter("weburl")."/".$this->getParameter("alias")."/"; + # fixe #31884 "https://" => "//" + $weburl="//".$this->getParameter("weburl")."/".$this->getParameter("alias")."/"; $serializer = new Serializer(array(new DateTimeNormalizer())); if ($action == null) {