diff --git a/app/Http/RequestHandlers/MapDataExportCSV.php b/app/Http/RequestHandlers/MapDataExportCSV.php index 9397e1148b..44730e4a42 100644 --- a/app/Http/RequestHandlers/MapDataExportCSV.php +++ b/app/Http/RequestHandlers/MapDataExportCSV.php @@ -162,10 +162,10 @@ public function handle(ServerRequestInterface $request): ResponseInterface throw new RuntimeException('Failed to create temporary stream'); } - fputcsv($resource, $header, MapDataService::CSV_SEPARATOR); + fputcsv($resource, $header, MapDataService::CSV_SEPARATOR, '"', '\\'); foreach ($places as $place) { - fputcsv($resource, $place, MapDataService::CSV_SEPARATOR); + fputcsv($resource, $place, MapDataService::CSV_SEPARATOR, '"', '\\'); } rewind($resource);