fixes #31884 url des icones de catégories d'annonces préfixées par // plutot que https://

This commit is contained in:
Pierre Cadeot 2021-03-11 11:44:38 +04:00
parent b272e50f88
commit 0ceffe2fa3
1 changed files with 2 additions and 1 deletions

View File

@ -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) {