From: Joas Schilling Date: Tue, 11 Oct 2022 06:19:49 +0000 (+0200) Subject: Update security.txt expires field X-Git-Tag: v24.0.7rc1~45^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F34527%2Fhead;p=nextcloud-server.git Update security.txt expires field Signed-off-by: Joas Schilling --- 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)); }