diff --git a/src/Controller/ImportController.php b/src/Controller/ImportController.php index 0bb8b62..6468078 100644 --- a/src/Controller/ImportController.php +++ b/src/Controller/ImportController.php @@ -126,7 +126,7 @@ private function checkAuth(Request $request, array $allowedCampaigns, bool $forc ], Response::HTTP_BAD_REQUEST); } - $this->version = $matchesVersion[1]; + $this->version = \str_replace('_', ' ', $matchesVersion[1]); if (strlen($this->version) < 1) { return new JsonResponse([ 'message' => sprintf(