From 8e2beed4cc1330ac22047a4bd2ed82b6d84c6fcb Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 2 May 2024 00:15:36 +0200 Subject: [PATCH] RSS use content-disposition: inline by default --- htdocs/public/agenda/agendaexport.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/public/agenda/agendaexport.php b/htdocs/public/agenda/agendaexport.php index b021e301ece..a8bcc1fd37d 100644 --- a/htdocs/public/agenda/agendaexport.php +++ b/htdocs/public/agenda/agendaexport.php @@ -357,6 +357,8 @@ if ($format == 'rss') { } if ($attachment) { header('Content-Disposition: attachment; filename="'.$filename.'"'); + } else { + header('Content-Disposition: inline;'); } // Ajout directives pour resoudre bug IE