aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-10-11 08:19:49 +0200
committerJoas Schilling <coding@schilljs.com>2022-10-11 08:26:25 +0200
commit46070cf7b9bfc5734a16f0ae17adeebd61dea4d4 (patch)
tree6af106510a2e76c400744954547c39de874c45fa /apps
parent7bf82c4f0c5ae190080513ffed0565737e48ad72 (diff)
downloadnextcloud-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.php5
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));
}