Skip to content

Commit

Permalink
Merge pull request #34522 from nextcloud/bugfix/34480/update-security…
Browse files Browse the repository at this point in the history
….txt-expires-field

Update security.txt expires field
  • Loading branch information
nickvergessen authored Oct 11, 2022
2 parents 665d292 + 46070cf commit d124fa3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/settings/lib/WellKnown/SecurityTxtHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ public function handle(string $service, IRequestContext $context, ?IResponse $pr
}

$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));
}
Expand Down

0 comments on commit d124fa3

Please sign in to comment.