From 03dbceea5a24ee53aa467f94d1d2b357b4c5be58 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 18 Oct 2021 16:50:34 +0200 Subject: [PATCH] Use Content-Type: text/calendar for ics files Signed-off-by: Thomas Citharel --- app/classes/Framadate/Services/ICalService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/classes/Framadate/Services/ICalService.php b/app/classes/Framadate/Services/ICalService.php index 59bfa34..c0e53ba 100644 --- a/app/classes/Framadate/Services/ICalService.php +++ b/app/classes/Framadate/Services/ICalService.php @@ -129,7 +129,7 @@ class ICalService { header('Expires: 0'); header('Cache-Control: must-revalidate'); header('Pragma: public'); - header("Content-Type: text/plain"); + header("Content-Type: text/calendar"); echo $ical_text; exit; }