From ed75b5f5c37d756941585fe7c6c02efdfc6194d3 Mon Sep 17 00:00:00 2001 From: Christophe LEON Date: Mon, 12 Jul 2021 18:10:11 +0400 Subject: [PATCH] fixes #31884 , faire en sortes sur les urls soient compatibles https et http --- .../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 9567b8ff..6a093970 100755 --- a/src/ninegate-1.0/src/Cadoles/EdispatcherBundle/Controller/ApiController.php +++ b/src/ninegate-1.0/src/Cadoles/EdispatcherBundle/Controller/ApiController.php @@ -200,7 +200,8 @@ class ApiController extends Controller $bookmarks=null; $items=null; $itemcategorys=null; - $weburl="https://".$this->getParameter("weburl")."/".$this->getParameter("alias")."/"; + # fixe #31884 "https://" => "//" + $weburl="//".$this->getParameter("weburl")."/".$this->getParameter("alias")."/"; $em->getRepository("CadolesPortalBundle:Item")->getUserItems($user,$bookmarks,$items,$itemcategorys,null,$ssoitems,3);