Browse Source

Merge pull request #34522 from nextcloud/bugfix/34480/update-security.txt-expires-field

Update security.txt expires field
Joas Schilling 1 year ago
parent
commit
d124fa32c0
1 changed files with 3 additions and 2 deletions
  1. 3 2
      apps/settings/lib/WellKnown/SecurityTxtHandler.php

+ 3 - 2
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));
 	}