From 5cb66ec18c43d2d9efc8d89baf1021e3d03756ed Mon Sep 17 00:00:00 2001 From: Mischa Spelt Date: Tue, 14 Nov 2017 10:09:36 +0100 Subject: [PATCH] Allow slash in podcast name --- api/app/Http/Controllers/PodcastController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/app/Http/Controllers/PodcastController.php b/api/app/Http/Controllers/PodcastController.php index 55e44ca..eca7e96 100644 --- a/api/app/Http/Controllers/PodcastController.php +++ b/api/app/Http/Controllers/PodcastController.php @@ -140,7 +140,7 @@ QUERY; } return response()->download($podcast->getSoundfile(), - '6FM Gemist - ' . $podcast->title . '.mp3'); + '6FM Gemist - ' . str_replace('/', '-', $podcast->title) . '.mp3'); } /***