From 6323f86885904a691c56aed5ef13291de3c91851 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 11 Oct 2022 08:19:49 +0200 Subject: [PATCH] Update security.txt expires field Signed-off-by: Joas Schilling --- apps/settings/lib/WellKnown/SecurityTxtHandler.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/settings/lib/WellKnown/SecurityTxtHandler.php b/apps/settings/lib/WellKnown/SecurityTxtHandler.php index 6e25d485f00..e0b627dc269 100644 --- a/apps/settings/lib/WellKnown/SecurityTxtHandler.php +++ b/apps/settings/lib/WellKnown/SecurityTxtHandler.php @@ -38,10 +38,11 @@ class SecurityTxtHandler implements IHandler { } $response = "Contact: https://hackerone.com/nextcloud -Expires: 2021-12-31T23:00:00.000Z +Expires: 2023-04-31T23:00:00.000Z Acknowledgments: https://hackerone.com/nextcloud/thanks Acknowledgments: https://github.com/nextcloud/security-advisories/security/advisories -Policy: https://hackerone.com/nextcloud"; +Policy: https://hackerone.com/nextcloud +Preferred-Languages: en"; return new GenericResponse(new TextPlainResponse($response, 200)); } -- 2.39.5