Browse Source

Merge pull request #45508 from Agnibaan/issue-42611-security-txt-fix

fix:Ensure security.txt file ends with a newline character
artonge/fix/opening_a_secondly_created_file
John Molakvoæ 1 year ago
committed by GitHub
parent
commit
a5fd623469
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      apps/settings/lib/WellKnown/SecurityTxtHandler.php

3
apps/settings/lib/WellKnown/SecurityTxtHandler.php

@ -42,7 +42,8 @@ Expires: 2024-08-31T23:00:00.000Z
Acknowledgments: https://hackerone.com/nextcloud/thanks
Acknowledgments: https://github.com/nextcloud/security-advisories/security/advisories
Policy: https://hackerone.com/nextcloud
Preferred-Languages: en";
Preferred-Languages: en
";
return new GenericResponse(new TextPlainResponse($response, 200));
}

Loading…
Cancel
Save