From b496fab567d40ff52aa691825939fd76d2b32c41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Sat, 20 Aug 2022 07:29:42 +0100 Subject: [PATCH] CustomCategory: when loading file, add Content-Disposition --- customCategory.php | 1 + 1 file changed, 1 insertion(+) diff --git a/customCategory.php b/customCategory.php index a9ba9533..03f1db50 100644 --- a/customCategory.php +++ b/customCategory.php @@ -22,6 +22,7 @@ if (isset($_REQUEST['id'])) { } Header("Content-Type: application/yaml; charset=utf-8"); + Header("Content-Disposition: inline; filename=\"{$_REQUEST['id']}.yaml\""); print $category; }