Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-10-11 09:19:49 +0300
committerJoas Schilling <coding@schilljs.com>2022-10-11 09:26:25 +0300
commit46070cf7b9bfc5734a16f0ae17adeebd61dea4d4 (patch)
tree6af106510a2e76c400744954547c39de874c45fa
parent7bf82c4f0c5ae190080513ffed0565737e48ad72 (diff)
Update security.txt expires field
Signed-off-by: Joas Schilling <coding@schilljs.com>
-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));
}