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 54d5c7ce..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) { @@ -407,7 +408,6 @@ EOL } $categorielabel=""; if ($compteur==0) { - if ($alert->getAlertcategory()->getLabel()!="sans categorie") if ($flag=="") { $categorielabel="
 ".$alert->getAlertcategory()->getLabel()."

"; $tmp["message"] = "$categorielabel

".$alert->getTitle()."

".$alert->getContent(); @@ -415,7 +415,6 @@ EOL } else { - if ($alert->getAlertcategory()->getLabel()!="sans categorie") if ($flag=="") { $categorielabel=" ".$alert->getAlertcategory()->getLabel()." : "; $tmp["message"] = $categorielabel.$alert->getTitle()."".$alert->getContent();