diff options
author | Joas Schilling <coding@schilljs.com> | 2022-10-11 08:19:49 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-10-11 08:26:25 +0200 |
commit | 46070cf7b9bfc5734a16f0ae17adeebd61dea4d4 (patch) | |
tree | 6af106510a2e76c400744954547c39de874c45fa /apps | |
parent | 7bf82c4f0c5ae190080513ffed0565737e48ad72 (diff) | |
download | nextcloud-server-46070cf7b9bfc5734a16f0ae17adeebd61dea4d4.tar.gz nextcloud-server-46070cf7b9bfc5734a16f0ae17adeebd61dea4d4.zip |
Update security.txt expires field
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/settings/lib/WellKnown/SecurityTxtHandler.php | 5 |
1 files 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)); } |